<Window x:Class="KinoPoisk.BuyTicketsWin"
        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="Пакупка билета на сеанс" Height="350" Width="520" MinHeight="350" MinWidth="520" MaxHeight="350" MaxWidth="520">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <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>

        <ComboBox x:Name="List" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Margin="15"></ComboBox>
        
        <Label VerticalAlignment="Center" Grid.Column="0" Grid.Row="2" Content="Выбери ИД фильма:" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></Label>

        <ComboBox x:Name="Namefilm" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="2" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Margin="15"></ComboBox>

        <Button x:Name="BuyTicket" Grid.Column="1" Grid.Row="5" Content="Купить" Margin="15" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="BuyTicket_Click"/>
        <Button x:Name="Cansel" Grid.Column="0" Grid.Row="5" Content="Отмена" Margin="15" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="Cansel_Click"></Button>
    </Grid>
</Window>
