<Window x:Class="KursachMukha692gr.RegUch"
        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:KursachMukha692gr"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        Title="Авторизация" Height="616" Width="450" WindowStartupLocation="CenterScreen" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
    <Grid Background="#028E9B">
        <Grid.RowDefinitions>
            <RowDefinition Height="77*"/>
            <RowDefinition Height="493*"/>
        </Grid.RowDefinitions>
        <Border MinWidth="400" MaxWidth="400" Margin="10" Background="#35C0CD" VerticalAlignment="Center" Padding="30" Grid.RowSpan="2" Height="565">
            <StackPanel>
                <TextBlock Text="Регистрация администратора" FontSize="20" Margin="0 0 0 20" HorizontalAlignment="Center"/>
                <TextBox x:Name ="familiyaAdmin" materialDesign:HintAssist.Hint="Введите фамилию" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="imyaAdmin" materialDesign:HintAssist.Hint="Введите имя" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="otchAdmin" materialDesign:HintAssist.Hint="Введите отчество" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <DatePicker x:Name="dataAdmin" materialDesign:HintAssist.Hint="Введите дату рождения" SelectedDateFormat="Short" Height="37"/>
                <TextBox x:Name ="numberAdmin" materialDesign:HintAssist.Hint="Введите номер телефона" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="emailAdmin" materialDesign:HintAssist.Hint="Введите электронную почту" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="LoginAdmin" materialDesign:HintAssist.Hint="Введите логин" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <PasswordBox x:Name ="pass1Admin" materialDesign:HintAssist.Hint="Введите пароль" Style="{StaticResource MaterialDesignFloatingHintPasswordBox}"/>
                <PasswordBox x:Name ="pass2Admin" materialDesign:HintAssist.Hint="Повторите пароль" Style="{StaticResource MaterialDesignFloatingHintPasswordBox}"/>
                <Button Content="Зарегистировать администратора" Margin="0 20" Background="#006363" Click="Button_Click"  />
                <Button Content="Назад" Background="#006363"  Click="Button_Click_Back" RenderTransformOrigin="0.496,0.453" Height="31"/>
            </StackPanel>
        </Border>
    </Grid>
</Window>
