<Window x:Class="InteractiveKiosk.EventsWindow"
        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:InteractiveKiosk"
        mc:Ignorable="d"
        Height="450" Width="800" AllowsTransparency="True" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Icon="Logo.png" WindowStyle="None" Background="Transparent" FontWeight="Bold">
    <Grid Name="Events" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="13*"/>
            <RowDefinition Height="62*"/>
        </Grid.RowDefinitions>
        <Border CornerRadius="20" BorderBrush="Black" BorderThickness="0" Grid.RowSpan="2">
            <Border.Background>
                <ImageBrush ImageSource="file.jpg"/>
            </Border.Background>
            <TabControl Margin="0,80,0,0">
                <TabItem Header="Май" Margin="-2,-2,-138,-18" FontFamily="Segoe UI Semibold" FontSize="14">
                    <Grid Background="Transparent"/>
                </TabItem>
                <TabItem Header="Июнь" Margin="138,-2,-258,-18" FontFamily="Segoe UI Semibold" FontSize="14">
                    <Grid Background="Transparent">
                        <ScrollViewer Margin="0,15,0,0">
                            <StackPanel>
                                <Image Name="June1" Height="260" MouseDown="June1_MouseDown" Width="307" Margin="0,19,450,73">
                                    <Image.Style>
                                        <Style TargetType="{x:Type Image}">
                                            <Setter Property="Source" Value="Events\June, 1.png"/>
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=June1}"
                                                        Value="True">
                                                    <Setter Property="Source" Value="Events\June, 1a.png"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </Image.Style>
                                </Image>
                                <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="«ДЕНЬ ЗАЩИТЫ ДЕТЕЙ»" VerticalAlignment="Top" Height="34" Width="280" Margin="420,-210,0,0" FontSize="25" FontFamily="Segoe UI Semilight"/>
                                <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="1 ИЮНЯ" VerticalAlignment="Top" Height="34" Width="95" Margin="510,-240,0,0" FontSize="25" FontFamily="Segoe UI Semilight"/>
                            </StackPanel>
                        </ScrollViewer>
                    </Grid>
                </TabItem>
                <TabItem Header="Июль" Margin="258,-2,-398,-18" FontFamily="Segoe UI Semibold" FontSize="14">
                    <Grid Background="Transparent"/>
                </TabItem>
            </TabControl>
        </Border>
        <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="АТТРАКЦИОНЫ" VerticalAlignment="Top" Height="29" Width="140" Margin="331,28,0,0" FontSize="20" FontFamily="Segoe UI Semilight"/>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Width="109" Grid.RowSpan="2">
            <Image Name="MinButton" Height="23" Width="20" Margin="45,-405,-13,0" MouseDown="MinButton_MouseDown">
                <Image.Style>
                    <Style TargetType="{x:Type Image}">
                        <Setter Property="Source" Value="Resources/min(inactive).png"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsMouseOver, ElementName=MinButton}"
                                         Value="True">
                                <Setter Property="Source" Value="Resources/min.png"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </Image.Style>
            </Image>
            <Image Name="HomeButton" Height="25" Width="20" Margin="-60,-405,-13,0" MouseDown="HomeButton_MouseDown">
                <Image.Style>
                    <Style TargetType="{x:Type Image}">
                        <Setter Property="Source" Value="Resources/home(inactive).png"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsMouseOver, ElementName=HomeButton}"
                                         Value="True">
                                <Setter Property="Source" Value="Resources/home.png"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </Image.Style>
            </Image>
            <Image Name="ExitButton" Height="23" Width="20" Margin="20,-405,20,0" MouseDown="ExitButton_MouseDown">
                <Image.Style>
                    <Style TargetType="{x:Type Image}">
                        <Setter Property="Source" Value="Resources/exit(inactive).png"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsMouseOver, ElementName=ExitButton}"
                                         Value="True">
                                <Setter Property="Source" Value="Resources/exit.png"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </Image.Style>
            </Image>
        </StackPanel>
        <Image Source="Logo.png" Margin="10,10,650,16"></Image>
    </Grid>
</Window>
