12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <Page x:Class="MedicalCenter.Pages.Page_UsersAddEdit"
- 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:MedicalCenter.Pages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="Users"
- Style="{StaticResource WinAll}">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="1*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
-
- <StackPanel Grid.Column="0" Orientation="Vertical" Margin="10 0 10 0">
- <TextBlock Text="Имя"
- FontSize="24"/>
- <TextBox x:Name="tbNameUser" FontSize="22" ToolTip="ФИО"/>
- <TextBlock Text="Логин"
- FontSize="24"/>
- <TextBox x:Name="tbLoginUser" FontSize="22"/>
- <TextBlock Text="Пароль"
- FontSize="24"/>
- <TextBox x:Name="tbPasswordUser" FontSize="22"/>
- </StackPanel>
- <StackPanel Grid.Column="1" Orientation="Vertical" Margin="10 0 10 0" >
- <TextBlock Text="Пол"
- FontSize="24"/>
- <ComboBox x:Name="ComboPolUser" FontSize="22">
- <ComboBoxItem Name="man" Content="М"/>
- <ComboBoxItem Name="woman" Content="Ж"/>
- </ComboBox>
- <TextBlock Text="Возраст"
- FontSize="24"/>
- <TextBox x:Name="tbAgeUser" FontSize="22"/>
- </StackPanel>
- <StackPanel Grid.Column="3" Orientation="Vertical" Margin="10 0 10 0">
- <Grid>
- <Button x:Name="btnAddUser" Content="Добавить" Click="btnAddUser_Click"
- FontSize="20" Margin="0 10 0 0"/>
- <Button x:Name="btnEditUser" Content="Редактировать" Click="btnEditUser_Click" Visibility="Hidden"
- FontSize="20" Margin="0 10 0 0"/>
- </Grid>
- <Button x:Name="btnBack" Content="Вернуться" Click="btnBack_Click"
- FontSize="20" Margin="0 10 0 0"/>
- </StackPanel>
- </Grid>
- </Grid>
- </Page>
|