<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Главное меню" Height="420" Width="420"
        WindowStartupLocation="CenterScreen">

    <Grid Margin="30">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <!-- Заголовок -->
        <TextBlock Text="Главное меню" FontSize="22" FontWeight="Bold" 
                 HorizontalAlignment="Center" Margin="0,0,0,15"/>

        <!-- Информация о пользователе -->
        <TextBlock x:Name="lblUser" Grid.Row="1" TextAlignment="Center" 
                 FontSize="13" Foreground="Gray" Margin="0,0,0,30"/>

        <!-- Кнопка "Заказы" -->
        <Button Grid.Row="2" Content="Заказы (фильтры)" Width="220" Height="42" 
               Margin="0,0,0,12" Click="BtnOrders_Click"
               FontSize="14" Background="#3498DB" Foreground="White"/>

        <!-- Кнопка "Водители" -->
        <Button Grid.Row="3" Content="Водители (редактирование)" Width="220" Height="42" 
               Margin="0,0,0,20" Click="BtnDrivers_Click"
               FontSize="14" Background="#27AE60" Foreground="White"/>

        <!-- Разделитель -->
        <Border Grid.Row="4" Height="1" Background="LightGray" 
               VerticalAlignment="Bottom" Margin="0,0,0,15"/>

        <!-- Кнопка "Выход" -->
        <Button Grid.Row="5" Content="Выход" Width="220" Height="38" 
               Click="BtnLogout_Click"
               FontSize="13" Background="#ECF0F1" Foreground="Gray"/>
    </Grid>
</Window>