<Window x:Class="CarService.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:CarService"
        mc:Ignorable="d"
        xmlns:command="clr-namespace:CarService.Entities"
        Title="Подай на 16" Height="450" Width="800" ResizeMode="NoResize" WindowStyle="SingleBorderWindow">

    <Grid>

        <Grid.RowDefinitions>
            <RowDefinition Height="76"/>
            <RowDefinition Height="69*"/>
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>
        
        <Grid Grid.Row="0" Background="Wheat"/>
        <Grid Grid.Row="2" Background="Wheat"/>

        <Image Source="Images/Useful Images/service_logo.png" Width="60" HorizontalAlignment="Left" Height="NaN" Margin="7,7,7,7"/>

        <Button Content="Назад" HorizontalAlignment="Right" Name="btnBack" Width="200" Height="35" Click="btnBack_Click" Margin="5, 5, 20, 5" Style="{DynamicResource StandartButtons}"/>

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

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

    </Grid>
</Window>
