From 9cd6500da948eff6624300433bff364c8d1bc03f Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Fri, 14 Aug 2026 14:54:43 +0200 Subject: [PATCH] [init:] editable PreviewWindow (saving untested...) --- PreviewWindow.axaml | 103 +++++++++++++++++++++++++++++++++++++++++ PreviewWindow.axaml.cs | 33 +++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 PreviewWindow.axaml create mode 100644 PreviewWindow.axaml.cs diff --git a/PreviewWindow.axaml b/PreviewWindow.axaml new file mode 100644 index 0000000..480d5e8 --- /dev/null +++ b/PreviewWindow.axaml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/PreviewWindow.axaml.cs b/PreviewWindow.axaml.cs new file mode 100644 index 0000000..8cdcdee --- /dev/null +++ b/PreviewWindow.axaml.cs @@ -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 addresses) + { + InitializeComponent(); + + Addresses = new ObservableCollection(addresses); + + DataContext = this; + } + public ObservableCollection Addresses { get; } + + + +} +