83 lines
3.8 KiB
XML
83 lines
3.8 KiB
XML
<Window x:Class="EmployeeManager.View.PhysicalPerson.AddPhysicalPersonWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Добавление физического лица"
|
|
Height="600" Width="400"
|
|
ResizeMode="NoResize"
|
|
WindowStartupLocation="CenterScreen"
|
|
Background="#0D2D4F">
|
|
|
|
<Grid>
|
|
<!-- Заголовок окна -->
|
|
<TextBlock Text="Добавление физического лица"
|
|
HorizontalAlignment="Center" VerticalAlignment="Top"
|
|
FontSize="18" FontWeight="Bold"
|
|
Foreground="#FFFFFF"
|
|
Margin="0,20,0,0" />
|
|
|
|
<!-- Стек элементов для ввода данных -->
|
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,10">
|
|
<!-- Поле для имени -->
|
|
<TextBox x:Name="NameTextBox"
|
|
Width="250" Height="40"
|
|
Style="{StaticResource RoundedTextBoxStyle}"
|
|
Margin="0,10"
|
|
ToolTip="Введите имя"
|
|
Text="{Binding NamePhysicalPersons}"/>
|
|
|
|
<!-- Поле для фамилии -->
|
|
<TextBox x:Name="SurnameTextBox"
|
|
Width="250" Height="40"
|
|
Style="{StaticResource RoundedTextBoxStyle}"
|
|
Margin="0,10"
|
|
ToolTip="Введите фамилию"
|
|
Text="{Binding SurnamePhysicalPersons}"/>
|
|
|
|
<!-- Поле для отчества -->
|
|
<TextBox x:Name="PatronomicTextBox"
|
|
Width="250" Height="40"
|
|
Style="{StaticResource RoundedTextBoxStyle}"
|
|
Margin="0,10"
|
|
ToolTip="Введите отчество"
|
|
Text="{Binding PatronomicPhysicalPersons}"/>
|
|
|
|
<!-- Поле для выбора даты рождения -->
|
|
<DatePicker x:Name="BirthdayPicker"
|
|
Width="250" Height="40"
|
|
Margin="0,10"
|
|
ToolTip="Выберите дату рождения"
|
|
Text="{Binding Birthday}"/>
|
|
|
|
<!-- Поле для выбора пола -->
|
|
<TextBox x:Name="GenderTextBox"
|
|
Width="250" Height="40"
|
|
Style="{StaticResource RoundedTextBoxStyle}"
|
|
Margin="0,10"
|
|
ToolTip="Введите отчество"
|
|
Text="{Binding Gender}"/>
|
|
|
|
<!-- Поле для адреса -->
|
|
<TextBox x:Name="AddressTextBox"
|
|
Width="250" Height="40"
|
|
Style="{StaticResource RoundedTextBoxStyle}"
|
|
Margin="0,10"
|
|
ToolTip="Введите адрес"
|
|
Text="{Binding Address}"/>
|
|
|
|
<!-- Поле для телефона -->
|
|
<TextBox x:Name="TelephoneTextBox"
|
|
Width="250" Height="40"
|
|
Style="{StaticResource RoundedTextBoxStyle}"
|
|
Margin="0,10"
|
|
ToolTip="Введите номер телефона"
|
|
Text="{Binding Telephone}"/>
|
|
|
|
<!-- Кнопка для добавления физического лица -->
|
|
<Button Content="Добавить физическое лицо"
|
|
Width="250" Height="40"
|
|
Margin="0,10"
|
|
Style="{StaticResource RoundedButtonStyle}"
|
|
Command="{Binding AddNewPhysicalPerson}"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window> |