<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"
        xmlns:command="clr-namespace:esoft.Entities"
        Title="esoft" Height="1080" Width="1920" ResizeMode="NoResize" WindowStyle="SingleBorderWindow">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="76"/>
            <RowDefinition Height="69*"/>
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>

        <Grid Grid.Row="0" Background="#87d3ff"/>
        <Grid Grid.Row="2" Background="#87d3ff"/>

        <Image Source="Images/esoft logo.png" Width="150" HorizontalAlignment="Left" Height="NaN" Margin="7,7,7,7"/>

        <Button Content="Назад" HorizontalAlignment="Right" Name="btnBack" Width="200" Height="35" Margin="5, 5, 20, 5" Style="{DynamicResource StandartButtons}" Click="btnBack_Click">
            <Button.Resources>
                <Style TargetType="Border">
                    <Setter Property="CornerRadius" Value="10"/>
                </Style>
            </Button.Resources>
        </Button>

        <TextBlock Style="{DynamicResource Header}" Text="{Binding ElementName=FrameMain, Path=Content.Title}" Width="350" HorizontalAlignment="Center"/>

        <Frame x:Name="FrameMain" NavigationUIVisibility="Hidden" Grid.Row="1"/>
    </Grid>
</Window>
