buechermarkt/BuechermarktClient/BookTypesEdit.xaml

24 lines
1.2 KiB
Plaintext
Raw Normal View History

<Window x:Class="BuechermarktClient.BookTypesEdit"
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="Buchtyp" Height="300" Width="300">
<StackPanel VerticalAlignment="Top">
<Label Content="Name" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=BName, Mode=TwoWay}"></TextBox>
<Label Content="ISBN" Margin="10,0"></Label>
<TextBox Margin="10,0" Text="{Binding Path=BISBN, Mode=TwoWay}"></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>