From 66398406d3a9a202e9666c13ef754f1f2a95411a Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Wed, 9 Jul 2025 23:01:29 +0200 Subject: [PATCH] [chore:] too much to documentate xD but changes like better AddressCheck, Progress Window, Result Window, etc. --- ResultWindow.axaml | 11 +++++++++++ ResultWindow.axaml.cs | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 ResultWindow.axaml create mode 100644 ResultWindow.axaml.cs diff --git a/ResultWindow.axaml b/ResultWindow.axaml new file mode 100644 index 0000000..4201973 --- /dev/null +++ b/ResultWindow.axaml @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/ResultWindow.axaml.cs b/ResultWindow.axaml.cs new file mode 100644 index 0000000..d2c5baf --- /dev/null +++ b/ResultWindow.axaml.cs @@ -0,0 +1,20 @@ +using System.Collections.Generic; +using Avalonia.Controls; + +namespace Logof_Client; + +public partial class ResultWindow : Window +{ + public ResultWindow(List<(int, List)> result) + { + InitializeComponent(); + GenerateView(result); + } + + private void GenerateView(List<(int, List)> result) + { + var errors = new List(); + foreach (var single_result in result) errors.Add(new KasPersonError(single_result)); + DgResult.ItemsSource = errors; + } +} \ No newline at end of file