Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="WPF_Project.EditRes"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="Edytuj Rezerwacje " Height="400" Width="450">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1.4*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="1.1*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <GroupBox x:Name="DaneKlienta" Grid.Column="0" Grid.Row="0" Header="Dane Klienta:">
- <Grid Grid.Column="0" Grid.Row="1">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="0.4*"/>
- <ColumnDefinition Width="0.5*"/>
- </Grid.ColumnDefinitions>
- <Label Content="Imię:" Grid.Column="0" Grid.Row="0" VerticalAlignment="Center"/>
- <TextBox x:Name="tbName" Grid.Column="1" Grid.Row="0" VerticalAlignment="Center"/>
- <Label Content="Nazwisko:" Grid.Column="0" Grid.Row="1" VerticalAlignment="Center"/>
- <TextBox x:Name="tbSurname" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center"/>
- <Label Content="Nr. telefonu:" Grid.Column="0" Grid.Row="2" VerticalAlignment="Center"/>
- <TextBox x:Name="tbPhone" Grid.Column="1" Grid.Row="2" VerticalAlignment="Center"/>
- </Grid>
- </GroupBox>
- <GroupBox x:Name="gbKalendarz" Header="Termin" Grid.Column="1" Grid.Row="0">
- <Calendar x:Name="claCalendar" Grid.Column="1" Grid.Row="0" IsEnabled="False" />
- </GroupBox>
- <GroupBox x:Name="gbDodatkowe" Header="Dodatkowe informacje" Grid.Column="0" Grid.Row="1">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="0.6*"/>
- <ColumnDefinition Width="0.4*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Label Content="Poziom obsługi" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center"/>
- <Slider x:Name="slidQuality" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center" />
- <CheckBox x:Name="cbFood" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Center" Content="Dodatkowe jedzenie"/>
- <Label Content="Płatność" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center"/>
- <ComboBox x:Name="comPayment" Grid.Row="2" VerticalAlignment="Center" Grid.ColumnSpan="2" Margin="110,15,0,14" >
- <ComboBoxItem>Gotówka</ComboBoxItem>
- <ComboBoxItem>Karta płatnicza</ComboBoxItem>
- <ComboBoxItem>Czek</ComboBoxItem>
- </ComboBox>
- </Grid>
- </GroupBox>
- <Grid >
- </Grid>
- <Grid Grid.Column="1" Grid.Row="1">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Label Grid.Column="0" Grid.Row="0" Content="Cena:"/>
- <Label Grid.Column="1" Grid.Row="0" Content="0zł" x:Name="lbPrice"/>
- <Button Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Edytuj rezerwacje" x:Name="btEditRes" />
- <Button Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Anuluj" x:Name="btCanelRes" Width="97" Click="btCanelRes_Click" />
- </Grid>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement