From 9c3268b4d4d2e565d3eef1ec26434c9ed150e8e8 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Wed, 4 Sep 2024 16:05:38 +0200 Subject: [PATCH] Copy Insert --- BeWo/DebugConfig.cs | 3 +- BeWo/View/Detail/CustomerWohnhilfeView.xaml | 25 ++++++++++-- .../View/Detail/CustomerWohnhilfeView.xaml.cs | 1 + BeWo/ViewModel/CustomerWohnhilfeVM.cs | 9 ++++- .../ListViewModel/AbstractDCListMapperVM.cs | 3 +- .../ListViewModel/CustomerWohnhilfeListVM.cs | 39 +++++++++++++++---- .../CustomerWohnhilfeBereichBundVM.cs | 1 + 7 files changed, 66 insertions(+), 15 deletions(-) diff --git a/BeWo/DebugConfig.cs b/BeWo/DebugConfig.cs index 8af30cd9a..a0e6d53c1 100644 --- a/BeWo/DebugConfig.cs +++ b/BeWo/DebugConfig.cs @@ -14,13 +14,14 @@ namespace BeWo public class DebugConfig { + private static DebugConfig _CurrentConfig; public static DebugConfig CurrentConfig { get { #if DEBUG - return FeatureWohnhilfe; + return _CurrentConfig ?? (_CurrentConfig = FeatureWohnhilfe); #endif diff --git a/BeWo/View/Detail/CustomerWohnhilfeView.xaml b/BeWo/View/Detail/CustomerWohnhilfeView.xaml index 3fb3d3481..e74ef37b5 100644 --- a/BeWo/View/Detail/CustomerWohnhilfeView.xaml +++ b/BeWo/View/Detail/CustomerWohnhilfeView.xaml @@ -8,12 +8,13 @@ xmlns:t="clr-namespace:BeWo.MultiLanguage.Markup" xmlns:viewmodel="clr-namespace:BeWo.ViewModel" xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls" - xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe" + xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" xmlns:wohnhilfe="clr-namespace:BeWo.View.Controls.Wohnhilfe" xmlns:converter="clr-namespace:BeWo.Converter" mc:Ignorable="d" d:DataContext="{d:DesignInstance Type=viewmodel:CustomerVM, IsDesignTimeCreatable=true}" d:DesignHeight="450" d:DesignWidth="800"> --> + +