diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj
index 25e82a4ef..53c36d97a 100644
--- a/BeWo/BeWo.csproj
+++ b/BeWo/BeWo.csproj
@@ -269,6 +269,70 @@
MSBuild:Compile
Designer
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
Designer
MSBuild:Compile
@@ -367,6 +431,10 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
Designer
MSBuild:Compile
@@ -1260,6 +1328,9 @@
WohneinheitBelegungWindow.xaml
+
+ WohneinheitGrundrissControl.xaml
+
WohneinheitGrundrissModalPopup.xaml
diff --git a/BeWo/DebugConfig.cs b/BeWo/DebugConfig.cs
index e5cb9cf9f..fcf3a8142 100644
--- a/BeWo/DebugConfig.cs
+++ b/BeWo/DebugConfig.cs
@@ -22,7 +22,7 @@ namespace BeWo
{
#if DEBUG
- return _CurrentConfig ?? (_CurrentConfig = FeatureCustomerWohnhilfe);
+ return _CurrentConfig ?? (_CurrentConfig = Feature_Customer_Wohnhilfe);
#endif
@@ -42,14 +42,14 @@ namespace BeWo
AutoLogin = true
};
- public static DebugConfig FeatureCustomerWohnhilfe => new DebugConfig()
+ public static DebugConfig Feature_Customer_Wohnhilfe => new DebugConfig()
{
DebugConfigMode = DebugConfigMode.FeatureCustomerWohnhilfe,
AutoLogin = true,
SelectView = UIContext.Customer
};
- public static DebugConfig FeatureWohnheimWohneinheit => new DebugConfig()
+ public static DebugConfig Feature_Wohnheim_Wohneinheit => new DebugConfig()
{
DebugConfigMode = DebugConfigMode.FeatureWohnheimWohneinheit,
AutoLogin = true,
diff --git a/BeWo/Styles/Colors/Colors.xaml b/BeWo/Styles/Colors/Colors.xaml
new file mode 100644
index 000000000..87e38a3b3
--- /dev/null
+++ b/BeWo/Styles/Colors/Colors.xaml
@@ -0,0 +1,4 @@
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/ButtonStyles.xaml b/BeWo/Styles/ControlStyles/ButtonStyles.xaml
new file mode 100644
index 000000000..abe9b7e68
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/ButtonStyles.xaml
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/CheckBoxStyles.xaml b/BeWo/Styles/ControlStyles/CheckBoxStyles.xaml
new file mode 100644
index 000000000..9a8a06781
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/CheckBoxStyles.xaml
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/ComboBoxStyles.xaml b/BeWo/Styles/ControlStyles/ComboBoxStyles.xaml
new file mode 100644
index 000000000..d6b503b32
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/ComboBoxStyles.xaml
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/CustomControlsStyles.xaml b/BeWo/Styles/ControlStyles/CustomControlsStyles.xaml
new file mode 100644
index 000000000..2ec4715c5
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/CustomControlsStyles.xaml
@@ -0,0 +1,9 @@
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/DateEditStyles.xaml b/BeWo/Styles/ControlStyles/DateEditStyles.xaml
new file mode 100644
index 000000000..be8854fb6
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/DateEditStyles.xaml
@@ -0,0 +1,42 @@
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/LabelStyles.xaml b/BeWo/Styles/ControlStyles/LabelStyles.xaml
new file mode 100644
index 000000000..3b69cc776
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/LabelStyles.xaml
@@ -0,0 +1,18 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/ListBoxStyles.xaml b/BeWo/Styles/ControlStyles/ListBoxStyles.xaml
new file mode 100644
index 000000000..db8eee48f
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/ListBoxStyles.xaml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/NullItemComboBoxStyles.xaml b/BeWo/Styles/ControlStyles/NullItemComboBoxStyles.xaml
new file mode 100644
index 000000000..4d3cbe084
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/NullItemComboBoxStyles.xaml
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/RadioButtonStyles.xaml b/BeWo/Styles/ControlStyles/RadioButtonStyles.xaml
new file mode 100644
index 000000000..0227101bb
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/RadioButtonStyles.xaml
@@ -0,0 +1,7 @@
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/TextBoxStyles.xaml b/BeWo/Styles/ControlStyles/TextBoxStyles.xaml
new file mode 100644
index 000000000..03f97a58e
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/TextBoxStyles.xaml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/TextEditStyles.xaml b/BeWo/Styles/ControlStyles/TextEditStyles.xaml
new file mode 100644
index 000000000..149f315ae
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/TextEditStyles.xaml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ControlStyles/ToggleButtonStyles.xaml b/BeWo/Styles/ControlStyles/ToggleButtonStyles.xaml
new file mode 100644
index 000000000..1829f1fff
--- /dev/null
+++ b/BeWo/Styles/ControlStyles/ToggleButtonStyles.xaml
@@ -0,0 +1,149 @@
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/DataTemplates/ControlTemplates.xaml b/BeWo/Styles/DataTemplates/ControlTemplates.xaml
new file mode 100644
index 000000000..c80f0ce16
--- /dev/null
+++ b/BeWo/Styles/DataTemplates/ControlTemplates.xaml
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/DataTemplates/DataTemplates.xaml b/BeWo/Styles/DataTemplates/DataTemplates.xaml
new file mode 100644
index 000000000..2e8f8179a
--- /dev/null
+++ b/BeWo/Styles/DataTemplates/DataTemplates.xaml
@@ -0,0 +1,6 @@
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/ModernOrangeBlack.xaml b/BeWo/Styles/ModernOrangeBlack.xaml
new file mode 100644
index 000000000..945963d94
--- /dev/null
+++ b/BeWo/Styles/ModernOrangeBlack.xaml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BeWo/Styles/OrangeBlack.xaml b/BeWo/Styles/OrangeBlack.xaml
index e7eff565a..8830a0f09 100644
--- a/BeWo/Styles/OrangeBlack.xaml
+++ b/BeWo/Styles/OrangeBlack.xaml
@@ -1367,13 +1367,13 @@
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
IsReadOnly="{Binding Path=IsReadOnly, RelativeSource={RelativeSource TemplatedParent}}"
- Style="{StaticResource ComboBoxEditableTextBox}" />
+ Style="{DynamicResource ComboBoxEditableTextBox}" />
+ Style="{DynamicResource ComboBoxTransparentButtonStyle}" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml b/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml
index 968f03f22..61488d697 100644
--- a/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml
+++ b/BeWo/View/Controls/CustomerVermittlungArbeitControl.xaml
@@ -20,7 +20,7 @@
-
+
-
-
+
@@ -176,10 +178,16 @@
-
+
-
+
@@ -197,7 +205,7 @@
Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="2"
- Style="{StaticResource TitleLabel}">
+ Style="{StaticResource Header1}">
zu Beginn
+ Style="{StaticResource Header1}">
am Ende
@@ -308,7 +316,10 @@
-
+
@@ -466,10 +477,16 @@
-
+
-
+
@@ -483,7 +500,7 @@
Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="2"
- Style="{StaticResource TitleLabel}">
+ Style="{StaticResource Header1}">
zu Beginn
+ Style="{StaticResource Header1}">
am Ende
diff --git a/BeWo/View/Detail/CustomerVermittlungArbeitView.xaml b/BeWo/View/Detail/CustomerVermittlungArbeitView.xaml
index 033f8d46b..bea38e4af 100644
--- a/BeWo/View/Detail/CustomerVermittlungArbeitView.xaml
+++ b/BeWo/View/Detail/CustomerVermittlungArbeitView.xaml
@@ -12,7 +12,7 @@
-
+
diff --git a/BeWo/View/Detail/CustomerWohnhilfeView.xaml b/BeWo/View/Detail/CustomerWohnhilfeView.xaml
index 8d83cd123..f3c2a873d 100644
--- a/BeWo/View/Detail/CustomerWohnhilfeView.xaml
+++ b/BeWo/View/Detail/CustomerWohnhilfeView.xaml
@@ -17,7 +17,7 @@
-
+
diff --git a/BeWo/View/Detail/Wohneinheit/WohneinheitBelegungEditControl.xaml b/BeWo/View/Detail/Wohneinheit/WohneinheitBelegungEditControl.xaml
index b902c3659..2de4d58cd 100644
--- a/BeWo/View/Detail/Wohneinheit/WohneinheitBelegungEditControl.xaml
+++ b/BeWo/View/Detail/Wohneinheit/WohneinheitBelegungEditControl.xaml
@@ -17,7 +17,7 @@
-
+
@@ -91,7 +91,7 @@
Grid.Row="5"
Grid.Column="2"
Grid.ColumnSpan="5"
- Style="{StaticResource TextBoxNoticeLargeStyle}"
+ Style="{StaticResource TextBoxNoticeLarge}"
Text="{Binding Path=WohneinheitBelegungListVM.CurrentVM.Kommentar, UpdateSourceTrigger=PropertyChanged}" />
+ Style="{StaticResource PrimaryButton}">
Hinzufügen
diff --git a/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV1.xaml.cs b/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV1.xaml.cs
index 4dd47a16e..cff6df0a9 100644
--- a/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV1.xaml.cs
+++ b/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV1.xaml.cs
@@ -95,7 +95,9 @@ namespace BeWo.View.Detail.Wohneinheit
var vm = datagrid_wohneinheiten.GetCurrentValue();
- var control = new WohneinheitGrundrissModalPopup(vm.ImageListVM);
+ var control = new WohneinheitGrundrissModalPopup();
+
+ control.DataContext = vm.ImageListVM;
BeWoApp.MainControl.ShowControlAsModalPopup(control);
diff --git a/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV2.xaml b/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV2.xaml
index 69f6f2016..a3c021bd6 100644
--- a/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV2.xaml
+++ b/BeWo/View/Detail/Wohneinheit/WohneinheitVerwaltungViewV2.xaml
@@ -16,7 +16,7 @@
-
+
@@ -28,7 +28,7 @@
@@ -83,174 +83,182 @@
ToolTip="Wohneinheit entfernen" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
diff --git a/BeWo/ViewModel/ListViewModel/WohneinheitListVM.cs b/BeWo/ViewModel/ListViewModel/WohneinheitListVM.cs
index 8fe39f327..3fcecef65 100644
--- a/BeWo/ViewModel/ListViewModel/WohneinheitListVM.cs
+++ b/BeWo/ViewModel/ListViewModel/WohneinheitListVM.cs
@@ -22,9 +22,12 @@ namespace BeWo.ViewModel.ListViewModel
public bool PermissionWohneinheitGalleryView { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Gallery_View);
public bool PermissionWohneinheitGalleryManage { get; } = BeWoApp.HasLoggedOnUserRight(UserRightType.WohnheimView_Wohneinheit_Gallery_Manage);
+ ///
+ /// Designer
+ ///
public WohneinheitListVM() : base(null)
{
-
+ VMList.Add(new WohneinheitVM());
}
public WohneinheitListVM(List pDCs) : base(pDCs)