<Window x:Class="Детский_сад.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:Детский_сад"
        mc:Ignorable="d"
        MinWidth="1350"
        MinHeight="750"
        Title="Детский сад" Width="1350" Height="750">
    <Grid Background="PapayaWhip">
        <Grid.RowDefinitions>
            <RowDefinition Height ="120"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="2.5*"/>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>

        <Image Source="Resources\Логотип.png" Margin="10"/>

        <StackPanel Grid.Column="1" VerticalAlignment="Center">
            <TextBlock Grid.Row="0" Text="Детский сад" Style="{StaticResource Header}"/>
            <TextBlock Grid.Row="0" Text="Радужный" Style="{StaticResource Header}" FontSize="45"/>
        </StackPanel>

        <StackPanel Grid.Column="2" HorizontalAlignment="Right"  VerticalAlignment="Center">
            <Button Name="btnAvtor" Grid.Row="0" Grid.Column="2" Content="Авторизация" Template="{StaticResource btnTemplate}" Margin="10" Click="btnAvtor_Click"/>
            <Button Name="btnReg" Grid.Row="0" Grid.Column="3" Content="Регистрация" Template="{StaticResource btnTemplate}" Click="btnReg_Click"/>
            <Button Name="btnMain" Grid.Row="0" Grid.Column="3" Content="Выйти" Template="{StaticResource btnTemplate}" Margin="10"  Click="btnMain_Click"/>
        </StackPanel>

        <Button Name="btnAdvertising" Grid.Row="0" Grid.Column="3" Content="Реклама" Template="{StaticResource btnTemplate}" Margin="10" HorizontalAlignment="Left" Click="btnAdvertising_Click"/>

        <Frame Name="frm" Grid.Row="1" Grid.ColumnSpan="3" NavigationUIVisibility="Hidden"/>
    </Grid>
</Window>