34 lines
726 B
C#
34 lines
726 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using Avalonia.Layout;
|
|
using Avalonia.Media;
|
|
|
|
namespace Logof_Client;
|
|
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
public partial class PreviewWindow : Window, INotifyPropertyChanged
|
|
{
|
|
|
|
public PreviewWindow(IEnumerable<KasPerson> addresses)
|
|
{
|
|
InitializeComponent();
|
|
|
|
Addresses = new ObservableCollection<KasPerson>(addresses);
|
|
|
|
DataContext = this;
|
|
}
|
|
public ObservableCollection<KasPerson> Addresses { get; }
|
|
|
|
|
|
|
|
}
|
|
|