123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <Window x:Class="WpfApp1.AddOrUpdateUser"
- 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:WpfApp1"
- mc:Ignorable="d"
- Title="AddOrUpdateUser" Height="450" Width="800" FontFamily="Comic Sans MS" FontSize="16">
- <Grid>
- <StackPanel VerticalAlignment="Center">
- <TextBlock Text="Добавление сотрудника" HorizontalAlignment="Center" FontWeight="Bold" FontSize="24"/>
- <GroupBox Header="Имя" Margin="5">
- <TextBox Name="tbName"/>
- </GroupBox>
- <GroupBox Header="Фамилия" Margin="5">
- <TextBox Name="tbSurname"/>
- </GroupBox>
- <GroupBox Header="Отчество" Margin="5">
- <TextBox Name="tbPatronymic"/>
- </GroupBox>
- <GroupBox Header="Дата рождения" Margin="5">
- <TextBox Name="tbBirthday"/>
- </GroupBox>
- <GroupBox Header="Серия паспорта" Margin="5">
- <TextBox Name="tbSerial"/>
- </GroupBox>
- <GroupBox Header="Номер паспорта" Margin="5">
- <TextBox Name="tbNumber"/>
- </GroupBox>
- <GroupBox Header="Стаж работы" Margin="5">
- <TextBox Name="tbWorkExperience"/>
- </GroupBox>
- <GroupBox Header="Логин" Margin="5">
- <TextBox Name="tbLogin"/>
- </GroupBox>
- <GroupBox Header="Пароль" Margin="5">
- <TextBox Name="tbPassword"/>
- </GroupBox>
- <GroupBox Header="Роль" Margin="5">
- <TextBox Name="tbRole"/>
- <GroupBox.ToolTip>
- Доступные роли: Администратор, Менеджер, Пользователь, Сотрудник ПВЗ
- </GroupBox.ToolTip>
- </GroupBox>
- <Button Name="btnSave" Margin="5" Content="Сохранить" Height="40" Width="200" Click="btnSave_Click"/>
- </StackPanel>
- </Grid>
- </Window>
|