<Window x:Class="KursachMukha692gr.AddTournment"
        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="550" Width="450" WindowStartupLocation="CenterScreen" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
    <Grid Background="#028E9B" Margin="0,0,0,0">
        <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 ="namesorevi" materialDesign:HintAssist.Hint="Введите название турнира" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="mestoprovedeniya" materialDesign:HintAssist.Hint="Введите место проведения турнира" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="disciplina_id" materialDesign:HintAssist.Hint="Введитe id дисциплины" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="gruppa" materialDesign:HintAssist.Hint="Введите номер группы" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <TextBox x:Name ="infotrener_id" materialDesign:HintAssist.Hint="Введите id тренера" Style="{StaticResource MaterialDesignFloatingHintTextBox}"/>
                <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>
