<Window x:Class="KursachMukha692gr.AddUchenik"
        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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        xmlns:local="clr-namespace:KursachMukha692gr"
        mc:Ignorable="d"
        Title="Добавление ученика" Height="630" 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="15,32,15,31" Background="#35C0CD" VerticalAlignment="Center" Padding="30" Grid.RowSpan="2">
            <StackPanel>
                <TextBlock Text="Добавление ученика" FontSize="20" Margin="0 0 0 20" HorizontalAlignment="Center"/>
                <TextBox x:Name ="familiyauch" materialDesign:HintAssist.Hint="Введите фамилию" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="imyauch" materialDesign:HintAssist.Hint="Введите имя" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="otchuch" materialDesign:HintAssist.Hint="Введите отчество" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <DatePicker x:Name="datauch" materialDesign:HintAssist.Hint="Введите дату рождения" SelectedDateFormat="Short" Height="37"/>
                <TextBox x:Name ="numberuch" materialDesign:HintAssist.Hint="Введите номер телефона" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="disciplina" materialDesign:HintAssist.Hint="Введите id дисциплины" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="gruppa" materialDesign:HintAssist.Hint="Введите номер группы" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="pol_id" materialDesign:HintAssist.Hint="Введите id пола (1-м , 2-ж)" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Height="36"/>
                <Button Content="Добавить ученика" Margin="0 20" Background="#006363" Click="Button_Click_Add"  />
                <Button Content="Назад" Background="#006363"  Click="Button_Click_Back" RenderTransformOrigin="0.496,0.453" Height="31"/>
            </StackPanel>
        </Border>
    </Grid>
</Window>
