123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <Page x:Class="SportComplex.Program.Pages.EditAddPages.EditAddEntryInSection"
- 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:SportComplex.Program.Pages.EditAddPages"
- mc:Ignorable="d"
- d:DesignHeight="590" d:DesignWidth="850"
- Title="EditAddEntryInSection">
- <Grid Background="White">
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid Name="gridAddEditEntry"
- Grid.Row="1"
- Width="450"
- Visibility="Visible"
- Height="380">
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition Height="50"/>
- </Grid.RowDefinitions>
- <!--Элементы в GroupBox-->
- <GroupBox Header="Добавление / Редактирование записи"
- FontSize="20"
- BorderBrush="Black"
- BorderThickness="3">
- <Grid Margin="10">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <!--Секции-->
- <TextBlock Text="Секция"
- VerticalAlignment="Center"
- HorizontalAlignment="Right"/>
- <ComboBox Name="SelectIDSectionCbx"
- Grid.Column="1"
- SelectedItem="{Binding Section}"
- Margin="20"/>
- <!--ФИ Клиента-->
- <TextBlock Grid.Row="1"
- Text="Клиент"
- VerticalAlignment="Center"
- HorizontalAlignment="Right"/>
- <ComboBox Name="SelectIDClientCbx"
- Grid.Column="1"
- Grid.Row="1"
- SelectedItem="{Binding Clients}"
- Margin="20"/>
- <!--ФИ Тренера-->
- <TextBlock Grid.Row="2"
- Text="Тренер"
- VerticalAlignment="Center"
- HorizontalAlignment="Right"/>
- <ComboBox Name="SelectIDTrainerCbx"
- Grid.Column="1"
- Grid.Row="2"
- SelectedItem="{Binding Trainers}"
- Margin="20"/>
- <!--Дата регистрации-->
- <TextBlock Grid.Row="3"
- Text="Дата"
- VerticalAlignment="Center"
- HorizontalAlignment="Right"/>
- <TextBox Name="InputDateRegDpk"
- Text="{Binding dateReg}"
- Grid.Row="3"
- Grid.Column="1"
- HorizontalAlignment="Center"
- Width="230"
- VerticalAlignment="Center"
- Background="WhiteSmoke"/>
- <!--<DatePickerTextBox Name="InputDateRegDpk"
- Grid.Row="3"
- Grid.Column="1"
- VerticalAlignment="Center"
- HorizontalAlignment="Center"
- Text="{Binding dateReg}"/>-->
- </Grid>
- </GroupBox>
- <!--Сохранение-->
- <Button Name="SaveEntryBtn"
- Grid.Row="1"
- Content="Сохранить"
- FontSize="20"
- Margin="10"
- HorizontalAlignment="Center"
- Width="200"
- Click="SaveEntryBtn_Click"/>
- </Grid>
-
- <!--Вернуться на страницу -->
- <Button Name="BackBtn"
- Content="Назад"
- FontSize="20"
- Margin="5"
- Click="BackBtn_Click"/>
- </Grid>
- </Page>
|