WIP dependency Injection

This commit is contained in:
HuskyTeufel
2021-09-13 15:37:23 +02:00
parent 70fcb1711d
commit 12652b3fa3
96 changed files with 4836 additions and 505 deletions

View File

@@ -0,0 +1,39 @@
<UserControl x:Class="DaSaSo.Wpf.View.Client.ClientEditView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DaSaSo.Wpf.View.Client" xmlns:viewmodel="clr-namespace:DaSaSo.ViewModel;assembly=DaSaSo.ViewModel" d:DataContext="{d:DesignInstance Type=viewmodel:ClientEditViewModel}"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="Vorname" />
<TextBlock Grid.Row="1" Text="Nachname" />
<TextBlock Grid.Row="2" Text="Strasse" />
<TextBlock Grid.Row="3" Text="Postleitzahl" />
<TextBlock Grid.Row="4" Text="Ort" />
<TextBox Grid.Column="1" Grid.Row="0" Text="{Binding Model.Firstname}" />
<TextBox Grid.Column="1" Grid.Row="1" Text="{Binding Model.LastName}" />
<TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Model.Street}" />
<TextBox Grid.Column="1" Grid.Row="3" Text="{Binding Model.Postcode}" />
<TextBox Grid.Column="1" Grid.Row="4" Text="{Binding Model.Country}" />
<Button Grid.Row="5" Grid.ColumnSpan="2" Command="{Binding SaveClientCommand}" Content="Daten Speichern" />
</Grid>
</UserControl>