<Window x:Class="Met_Fam.WindowReg"
        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:Met_Fam"
        mc:Ignorable="d"
         Title="Metal Family" WindowState="Maximized" WindowStyle="ThreeDBorderWindow">
    <Window.Resources>
        <Style TargetType="TextBlock" x:Key="zagolovok">
            <Setter Property="FontSize" Value="80"/>
            <Setter Property="HorizontalAlignment" Value="Center"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="FontFamily" Value="Rockwell Extra Bold"/>

        </Style>
        <Style TargetType="TextBlock" x:Key="reklama">
            <Setter Property="FontSize" Value="30" />
            <Setter Property="FontFamily" Value="Rockwell Extra Bold"/>
            <Setter Property="HorizontalAlignment" Value="Center"/>
        </Style>
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="100"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>


            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <DockPanel LastChildFill="True">
            <TextBlock Text="Metal Family" Style="{StaticResource zagolovok}" />
        </DockPanel>
        <DockPanel Grid.Row="1" Background="#FFA0A5F3">
            <DockPanel HorizontalAlignment="Center">
                <TextBlock Text="У нас Вы сможете: " VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                <TextBlock Text="  приобрести музыкальный инструмент " VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                <TextBlock Text=" пройти видеокурс начинающего музыканта " VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
            </DockPanel>
        </DockPanel>
        <ScrollViewer Grid.Row="2" Margin="0,20,0,0">
            <StackPanel>
                <DockPanel HorizontalAlignment="Center" Width="700">
                    <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                    <TextBlock Text="Фамилия" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                    <TextBox x:Name="txtSuName" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
                </DockPanel>
                <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
                    <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                    <TextBlock Text="Имя" VerticalAlignment="Center" Margin="0,0,20,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                    <TextBox x:Name="txtName" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
                </DockPanel>
                <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
                    <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                    <TextBlock Text="Логин" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                    <TextBox x:Name="txtLogin" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
                </DockPanel>
                <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
                    <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                    <TextBlock Text="Пароль" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                    <PasswordBox x:Name="txtPass" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
                </DockPanel>
                <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
                    <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                    <TextBlock Text="Телефон" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                    <TextBox x:Name="txtPhon" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
                </DockPanel>
                <DockPanel HorizontalAlignment="Center" Width="700" Margin="0,15,0,0">
                    <Image Source="img/з.png" Width="30" VerticalAlignment="Center"></Image>
                    <TextBlock Text="Адрес" VerticalAlignment="Center" Margin="0,0,33,0" FontSize="30" FontFamily="Rockwell Extra Bold"></TextBlock>
                    <TextBox x:Name="txtAdres" MinWidth="500" BorderBrush="#FF6C73E6" BorderThickness="0,0,0,2"/>
                </DockPanel>

                <Border BorderBrush="#FF6C73E6" Background="#FFA0A5F3" BorderThickness="1" CornerRadius="10,10,10,10" Width="450" Height="50"  Margin="0, 15, 0,0">
                    <Button Click="Button_Click"  BorderBrush="#FFA0A5F3" Background="#FFA0A5F3" Content ="Зарегестрироваться" FontFamily="Rockwell Extra Bold" HorizontalAlignment="Center" VerticalAlignment="Center"  FontSize="25" Padding="0,5,0,5"></Button>
                </Border>

                <StackPanel Height="3" Background="#FFA0A5F3" Margin="0,65,0,5"></StackPanel>
                <StackPanel Orientation="Horizontal" Height="300" HorizontalAlignment="Center" >
                    <Image Source="img/FON.jpg"></Image>
                    <Image Source="img/FON.jpg"></Image>
                    <Image Source="img/FON.jpg"></Image>
                    <Image Source="img/FON.jpg"></Image>


                </StackPanel>
                <StackPanel Height="3" Background="#FFA0A5F3" Margin="0,5,0,50"></StackPanel>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</Window>
