<Window x:Class="KinoPoisk.MainMenu"
        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="MainMenu" Height="650" Width="1000">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150"></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="60"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>

        <Label VerticalAlignment="Center" x:Name="WelcomeText" Grid.Column="0" Grid.ColumnSpan="2" Content="Привет, " FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></Label>
        <TextBox x:Name="SearchBox" Grid.Column="2" Grid.ColumnSpan="2" Margin="7" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25"></TextBox>
        <Button x:Name="Search" Grid.Column="4" Content="Поиск" Margin="7" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="Search_Click"></Button>
        <Button x:Name="BuyTiket" Grid.Column="5" Content="Купить Билет" Margin="7" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="BuyTiket_Click"></Button>
        <Button x:Name="Admin" Grid.Column="6" Content="Админка" Margin="7" FontFamily="Bahnschrift SemiBold Condensed" FontSize="25" Click="Admin_Click"></Button>

        <ScrollViewer Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="7">
            <DataGrid x:Name="Listfilms"
                        DockPanel.Dock="Left"  
                        SelectionUnit="FullRow" 
                        HeadersVisibility="Column" 
                        IsReadOnly="True"
                      FontFamily="Bahnschrift SemiBold Condensed"
                      FontSize="25"
                      />
        </ScrollViewer>
    </Grid>
</Window>
