Datenschnittstelle erweitert

This commit is contained in:
HuskyTeufel
2022-05-30 15:51:01 +02:00
parent b2a9d46c4d
commit 455f57fd35
38 changed files with 647 additions and 116 deletions

View File

@@ -0,0 +1,34 @@
<UserControl x:Class="GuiWPF.Views.AuftraggeberEditPage"
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:GuiWPF.Views"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Name" />
<Label Grid.Row="1" Grid.Column="0" Content="Straße" />
<Label Grid.Row="2" Grid.Column="0" Content="Ort" />
<Label Grid.Row="3" Grid.Column="0" Content="Telefon" />
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=Name}" />
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=Strasse}" />
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Path=Ort}" />
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding Path=Telefon}" />
<Button Grid.Row="4" Grid.ColumnSpan="2" Content="Speichern" Command="{Binding Path=SaveCommand}" />
</Grid>
</UserControl>