<Window x:Class="Esoft.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Esoft"
        mc:Ignorable="d"
        AllowsTransparency="True"
        Background="Transparent"
        WindowStyle="None"
        WindowStartupLocation="CenterScreen"
        Height="680" Width="1100"
        ResizeMode="NoResize"
        MouseDown="Window_MouseDown">
    <Grid>

        <Border Background="#e6f4ff" CornerRadius="20"/>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="280"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="50"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Button x:Name="btnClose" Style="{DynamicResource PanelButtonX}" Margin="0,10,10,0" Grid.Row="0" Grid.Column="1" Height="35" Width="35" Click="btnClose_Click">
        
            </Button>
            <Button x:Name="btnMinimize" Style="{DynamicResource PanelButtonMin}" Margin="0,10,55,0" Grid.Row="0" Grid.Column="1" Height="35" Width="35" Click="btnMinimize_Click">
               
            </Button>
            <Frame Name="MainFrame" NavigationUIVisibility="Hidden" Grid.Column="1" Grid.Row="1"/>

        </Grid>


        <!--Панель навигации-->

        <Grid HorizontalAlignment="Left" Width="280">


            <Border Background="#4285B4" CornerRadius="20,0,0,20" HorizontalAlignment="Left" Width="304"/>
            <Image Source="/Resources/logo.png" VerticalAlignment="Top" Margin="30,15"/>

            <StackPanel Width="280" Height="400" Margin="0,20,0,0">

                <Button Name="General" Style="{DynamicResource NaviButtons}" Click="General_Click">
                    <Grid Width="280">
                        <Image Source="/Resources/GeneralHome.png" Style="{StaticResource ImageStyle}"/>
                        <TextBlock Text="Главная" Style="{StaticResource Text_Style}" FontFamily="Arial Black" Margin="60,0,0,0"/>
                    </Grid>
                </Button>
                <Separator Height="20" Background="Transparent"/>
                <Button Name="TaskList" Style="{DynamicResource NaviButtons}" Click="TaskList_Click">
                    <Grid Width="280">
                        <TextBlock Text="Задачи" Style="{StaticResource Text_Style}" FontFamily="Arial Black"/>
                        <Image Source="/Resources/TaskList.png" Style="{StaticResource ImageStyle}"/>
                    </Grid>
                </Button>
                <Separator Height="20" Background="Transparent"/>
                <Button Name="ExecutorList" Style="{DynamicResource NaviButtons}" Width="281">
                    <Grid Width="280">
                        <TextBlock Text="Исполнители" Style="{StaticResource Text_Style}" FontFamily="Arial Black" Margin="49,0,0,0" Width="244"/>
                        <Image Source="/Resources/EmployeeList.png" Style="{StaticResource ImageStyle}" Margin="-2,0,0,0"/>
                    </Grid>
                </Button>
                <Separator Height="20" Background="Transparent"/>
                <Button Name="Chart" Style="{DynamicResource NaviButtons}" Click="Chart_Click">
                    <Grid Width="280">
                        <TextBlock Text="Графики" Style="{StaticResource Text_Style}" FontFamily="Arial Black"/>
                        <Image Source="/Resources/Chart.png" Style="{StaticResource ImageStyle}"/>
                    </Grid>
                </Button>

            </StackPanel>
            <StackPanel VerticalAlignment="Bottom" Height="3" Width="250" Margin="0,0,0,100" Background="#2e5d85"/>
            <Button Name="AccExit" Style="{DynamicResource NaviButtons}" VerticalAlignment="Bottom" Margin="0,0,0,15" Click="AccExit_Click">
                <Grid Width="280">
                    <TextBlock Text="Выход" Style="{StaticResource Text_Style}" FontFamily="Arial Black"/>
                    <Image Source="/Resources/AccExit.png" Style="{StaticResource ImageStyle}"/>
                </Grid>
            </Button>

        </Grid>

    </Grid>
</Window>
