[init:] editable PreviewWindow (saving untested...)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
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; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user