<Window x:Class="KinoPoisk.AdminPanel"
        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:KinoPoisk"
        mc:Ignorable="d"
        Title="MainWindow" Height="600" Width="500" MinHeight="600" MinWidth="500" MaxHeight="500" MaxWidth="600">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>

        <Label Grid.Column="0" Grid.ColumnSpan="3" Content="Добавление фильма" FontFamily="Bahnschrift SemiBold Condensed" FontSize="36" HorizontalAlignment="Center"></Label>

        <Label VerticalAlignment="Center" Grid.Column="0" Grid.Row="1" Content="Название:" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></Label>
        <Label VerticalAlignment="Center" Grid.Column="0" Grid.Row="2" Content="Жанр:" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></Label>
        <Label VerticalAlignment="Center" Grid.Column="0" Grid.Row="3" Content="Описание фильма:" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></Label>
        <Label VerticalAlignment="Center" Grid.Column="0" Grid.Row="5" Content="Год выпуска:" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></Label>
        <Label VerticalAlignment="Center" Grid.Column="0" Grid.Row="6" Content="Длительность:" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></Label>

        <TextBox x:Name="NameFilm" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Margin="15"></TextBox>
        <TextBox x:Name="Ganre" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="2" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Margin="15"></TextBox>
        <TextBox x:Name="Discript" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="3" Grid.RowSpan="2" TextWrapping="Wrap" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Margin="15"></TextBox>
        <DatePicker x:Name="Year" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="5" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Margin="15"></DatePicker>
        <TextBox x:Name="Dlitelnost" Grid.Column="1" Text="2:12:29" Grid.ColumnSpan="2" Grid.Row="6" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Margin="15"></TextBox>

        <Button x:Name="AddFilm" Grid.Column="2" Grid.Row="7" Content="Добавить" Margin="15" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="AddFilm_Click"></Button>
        <Button x:Name="Cansel" Grid.Column="1" Grid.Row="7" Content="Отмена" Margin="15" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="Cansel_Click"></Button>
        <Button x:Name="AddSesion" Grid.Column="0" Grid.Row="7" Content="Добавит сеанс" Margin="15" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="AddSesion_Click"></Button>
    </Grid>
</Window>
