From 8ee27e2c14d054641e5a5644ea42e3d5fdf2b892 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Thu, 12 Sep 2024 12:00:55 +0200 Subject: [PATCH 1/7] Zimmername null Compare --- BeWo/ViewModel/WohneinheitVM.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BeWo/ViewModel/WohneinheitVM.cs b/BeWo/ViewModel/WohneinheitVM.cs index 171e85c11..00f68e5f9 100644 --- a/BeWo/ViewModel/WohneinheitVM.cs +++ b/BeWo/ViewModel/WohneinheitVM.cs @@ -287,12 +287,12 @@ namespace BeWo.ViewModel if (vm2 is null) return -1; - var compare1 = vm1.Wohnname.CompareTo(vm2.Wohnname); + var compare1 = string.Compare(vm1.Wohnname, vm2.Wohnname); if (compare1 != 0) return compare1; - var compare2 = vm1.Zimmername.CompareTo(vm2.Zimmername); + var compare2 = string.Compare(vm1.Zimmername, vm2.Zimmername); return compare2; } From 13a0448d28fc1ccd9c80313cb7f53153e776e4a5 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Thu, 12 Sep 2024 14:00:17 +0200 Subject: [PATCH 2/7] =?UTF-8?q?V1=20Vollst=C3=A4ndig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BeWo/BeWoApp.xaml | 1103 +++++++++++++---- BeWo/Styles/PrototypeStyles.xaml | 2 +- .../Wohneinheit/WohneinheitEditPopup.xaml | 338 +++-- .../Wohneinheit/WohneinheitEditPopup.xaml.cs | 12 +- .../WohneinheitVerwaltungViewV1.xaml | 196 ++- .../WohneinheitVerwaltungViewV1.xaml.cs | 18 +- .../WohneinheitVerwaltungViewV2.xaml | 361 ++++-- .../WohneinheitVerwaltungViewV2.xaml.cs | 19 +- .../ListViewModel/AbstractDCListMapperVM.cs | 39 +- .../ListViewModel/WohneinheitListVM.cs | 67 +- BeWo/ViewModel/WohnheimVM.cs | 4 +- 11 files changed, 1653 insertions(+), 506 deletions(-) diff --git a/BeWo/BeWoApp.xaml b/BeWo/BeWoApp.xaml index 918ea6043..ab0147eba 100644 --- a/BeWo/BeWoApp.xaml +++ b/BeWo/BeWoApp.xaml @@ -1,16 +1,18 @@ - + @@ -21,14 +23,14 @@ - + - + @@ -39,7 +41,7 @@ - + @@ -65,21 +67,21 @@ - - + + - - + + - - + + - - + + - + @@ -94,16 +96,28 @@ - + - - - + + + - - + + @@ -116,23 +130,92 @@ - - - - + + + + - + - - Aus Archiv holen + + + Aus Archiv holen + - - Reaktivieren + + + Reaktivieren + - @@ -140,31 +223,31 @@ - - - + + + - - - + + + - + - - - + + + - + - - - + + + @@ -174,11 +257,11 @@ - + - - - + + + @@ -197,16 +280,28 @@ - + - - - + + + - - + + @@ -215,12 +310,38 @@ - - - + + + - + @@ -229,25 +350,25 @@ - - + + - + - - - + + + - + - - - + + + @@ -257,11 +378,11 @@ - + - - - + + + @@ -285,11 +406,43 @@ - - - - - + + + + + @@ -300,14 +453,35 @@ - - + + - + - - - + + + @@ -319,16 +493,22 @@ - - + + @@ -343,7 +523,10 @@ - + @@ -353,11 +536,45 @@ - - - - - + + + + + @@ -368,14 +585,35 @@ - - + + - + - - - + + + @@ -387,10 +625,18 @@ -