buechermarkt/BuechermarktClient/StudentsEdit.xaml

34 lines
2.0 KiB
Plaintext
Raw Normal View History

2017-09-27 13:57:10 +00:00
<Window x:Class="BuechermarktClient.StudentsEdit"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:BuechermarktClient"
mc:Ignorable="d"
Title="Schüler" Height="393.494" Width="300">
<StackPanel VerticalAlignment="Top">
<Label Content="Vorname" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=Forname, Mode=TwoWay}"></TextBox>
<Label Content="Nachname" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=Lastname, Mode=TwoWay}"></TextBox>
<Label Content="E-Mail" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=EMail, Mode=TwoWay}"></TextBox>
<Label Content="Telefon" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=PhoneNumber, Mode=TwoWay}"></TextBox>
<Label Content="LabelId" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=LabelId, Mode=TwoWay}"></TextBox>
<Label Content="Klasse" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=Form, Mode=TwoWay}"></TextBox>
<Label Content="iD" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=ID, Mode=OneWay}"></TextBox>
<Grid Margin="10,10,10,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Button Grid.Column="0" Content="Speichern" Click="Save_Click" Margin="0,0,5,0"></Button>
<Button Grid.Column="1" Content="Löschen" Click="Delete_Click" Margin="5,0,0,0"></Button>
</Grid>
</StackPanel>
</Window>