<Window x:Class="ComputerShopWpf.Views.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Продажа компьютерной техники"
        Height="780"
        Width="1240"
        MinHeight="720"
        MinWidth="1100"
        WindowStartupLocation="CenterScreen">
    <DockPanel Background="{StaticResource BackgroundBrush}">
        <Border DockPanel.Dock="Top"
                Background="{StaticResource PrimaryBrush}"
                Padding="22,14">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <TextBlock Text="Продажа компьютерной техники"
                           FontSize="23"
                           FontWeight="SemiBold"
                           Foreground="White"
                           VerticalAlignment="Center"
                           Margin="0"/>
                <TextBlock x:Name="SessionTextBlock"
                           Grid.Column="1"
                           Foreground="White"
                           VerticalAlignment="Center"
                           Margin="24,0,0,0"/>
            </Grid>
        </Border>

        <Border DockPanel.Dock="Left"
                Width="235"
                Background="{StaticResource PrimaryBrush}"
                Padding="14">
            <StackPanel>
                <Button x:Name="ClientsButton" Content="Клиенты" Style="{StaticResource MenuButtonStyle}" Click="ClientsButton_Click"/>
                <Button x:Name="ProductsButton" Content="Товары" Style="{StaticResource MenuButtonStyle}" Click="ProductsButton_Click"/>
                <Button x:Name="OrdersButton" Content="Заказы" Style="{StaticResource MenuButtonStyle}" Click="OrdersButton_Click"/>
                <Button x:Name="LateOrdersButton" Content="Просроченные заказы" Style="{StaticResource MenuButtonStyle}" Click="LateOrdersButton_Click"/>
                <Button x:Name="UsersButton" Content="Пользователи" Style="{StaticResource MenuButtonStyle}" Click="UsersButton_Click"/>
                <Button Content="Выйти из аккаунта" Style="{StaticResource MenuButtonStyle}" Click="LogoutButton_Click"/>
            </StackPanel>
        </Border>

        <Frame x:Name="ContentFrame"
               NavigationUIVisibility="Hidden"
               Margin="20"/>
    </DockPanel>
</Window>
