PIbd-42_Kashin_M.I_CPO_Cour.../EmployeeManagmentView/Employee/Vacation/VacationManagementWindow.xaml

53 lines
2.4 KiB
XML

<Window x:Class="EmployeeManagmentView.Employee.Vacation.VacationManagementWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Управление отпуском"
Height="400" 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">
<!-- Кнопка "Удаление отпуска" -->
<Button Content="Удаление отпуска"
Width="250" Height="40"
Margin="0,0,0,10"
Background="#004890" Foreground="#FFFFFF"
Style="{StaticResource RoundedButtonStyle}"
Click="OpenDeleteVacationWindow"/>
<!-- Кнопка "Добавление отпуска" -->
<Button Content="Добавление отпуска"
Width="250" Height="40"
Margin="0,0,0,10"
Style="{StaticResource RoundedButtonStyle}"
Background="#004890" Foreground="#FFFFFF"
Click="OpenAddVacationWindow"/>
<!-- Кнопка "Редактирование отпуска" -->
<Button Content="Редактирование отпуска"
Width="250" Height="40"
Margin="0,0,0,10"
Style="{StaticResource RoundedButtonStyle}"
Background="#004890" Foreground="#FFFFFF"
Click="OpenEditVacationWindow"/>
<!-- Кнопка "Просмотр отпусков" -->
<Button Content="Просмотр отпусков"
Width="250" Height="40"
Style="{StaticResource RoundedButtonStyle}"
Background="#004890" Foreground="#FFFFFF"
Click="OpenViewVacationWindow"/>
</StackPanel>
</Grid>
</Window>