<Window x:Class="EmployeeManagmentView.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Отдел кадров УлГТУ" Height="450" Width="800" Background="#0D2D4F" MinWidth="400" MinHeight="300" WindowStartupLocation="CenterScreen" MaxWidth="{Binding Source={x:Static SystemParameters.PrimaryScreenWidth}}" MaxHeight="{Binding Source={x:Static SystemParameters.PrimaryScreenHeight}}"> <Grid> <!-- Заголовок --> <TextBlock Text="Отдел кадров УлГТУ" HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="24" FontWeight="Bold" Foreground="#FFFFFF" Margin="0,20,0,0" /> <!-- Центральный StackPanel --> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,40"> <!-- Кнопка 1 --> <Button Content="Работа с сотрудниками" Width="200" Height="50" Margin="0,10" Background="#004890" Foreground="#FFFFFF" FontSize="16" Style="{StaticResource RoundedButtonStyle}" Click="OpenEmployeeManagementWindow"/> <!-- Кнопка 2 --> <Button Content="Работа с физ. лицами" Width="200" Height="50" Margin="0,10" Background="#004890" Foreground="#FFFFFF" FontSize="16" Style="{StaticResource RoundedButtonStyle}" Click="OpenPhysicalPersonManagementWindow"/> </StackPanel> </Grid> </Window>