123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <Page x:Class="SportComplex.Program.Pages.EditAddPages.EditAddTrainers"
- 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-names
- pace:SportComplex.Program.Pages.EditAddPages"
- mc:Ignorable="d"
- d:DesignHeight="590" d:DesignWidth="850"
- Title="EditAddTrainers">
- <Grid Background="White">
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <!--#region ТРЕНЕРА-->
- <Grid Name="gridAddEditTrainers"
- 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"/>
- <TextBox Name="InputFNameTrainerTxb"
- Text="{Binding lfname}"
- Grid.Row="1"
- Grid.Column="1"
- Margin="20"
- Background="WhiteSmoke"/>
- <!--Логин-->
- <TextBlock Grid.Row="2"
- Text="Логин"
- VerticalAlignment="Center"
- HorizontalAlignment="Right"/>
- <TextBox Name="InputLoginTrainerTxb"
- Text="{Binding login}"
- Grid.Row="2"
- Grid.Column="1"
- Margin="20"
- Background="WhiteSmoke"/>
- <!--Пароль-->
- <TextBlock Grid.Row="3"
- Text="Пароль"
- VerticalAlignment="Center"
- HorizontalAlignment="Right"/>
- <TextBox Name="InputPassTrainerTxb"
- Text="{Binding passwd}"
- Grid.Row="3"
- Grid.Column="1"
- Margin="20"
- Background="WhiteSmoke"/>
- </Grid>
- </GroupBox>
- <!--Сохранение-->
- <Button Name="SaveTrainerBtn"
- Grid.Row="1"
- Content="Сохранить"
- FontSize="20"
- Margin="10"
- HorizontalAlignment="Center"
- Width="200"
- Click="SaveTrainerBtn_Click"/>
- </Grid>
- <!--#endregion СЕКЦИИ-->
- <!--Вернуться на страницу -->
- <Button Name="BackBtn"
- Content="Назад"
- FontSize="20"
- Margin="5"
- Click="BackBtn_Click"/>
-
- </Grid>
- </Page>
|