<?xml version="1.0" encoding="utf-8"?>
<Window
    x:Class="MultiThreadedApp.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MultiThreadedApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Title="Tour de France - CCCCCC">

    <Grid x:Name="rootPanel" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Rectangle x:Name="raceTrackBacground" Grid.Row="0" Fill="{ThemeResource SystemControlForegroundAltHighBrush}" VerticalAlignment="Top"
                   Margin="65 10 10 0" Height="230" />
        <TextBlock Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="150 50 -200 0" FontSize="20" CharacterSpacing="700"
                   Rotation="90" Foreground="Gray" Text ="START" />
        <Rectangle x:Name="startLineRect" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="150 10 0 10"
                   Fill="LightSteelBlue" Width="6" Height="200"/>
        <StackPanel x:Name="depoPanel" Grid.Row="0" Orientation="Vertical" HorizontalAlignment="left" Margin="400 10 0 10">
            <Rectangle HorizontalAlignment="Left"  Width="55" Height="200" Margin="0 0 0 0" Fill="Teal" Stroke="Gray"/>
            <TextBlock HorizontalAlignment="Center" Margin="0 -20 0 0" Foreground="LightGray" Text="DEPO" />
        </StackPanel>
        <TextBlock Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="450 50 -200 0" FontSize="20" CharacterSpacing="700"
            Rotation="90" Foreground="Gray" Text="FINISH" />
        <Rectangle x:Name="finishLineRect" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="600 10 0 10"
          Width="6" Height="200" Fill="LightGreen" />
        <StackPanel x:Name="bikesPanel" Grid.Row="0" Orientation="Vertical" Margin="0 0 0 0">
            <!--Ide jönnek a bicikliket reprezentáló TextBlock-ok-->
            <!--<TextBlock x:Name="tbBike1" FontFamily="Webdings" FontSize="64" Margin="10 0 0 0" Text="b" />
            <TextBlock x:Name="tbBike2" FontFamily="Webdings" FontSize="64" Margin="10 0 0 0" Text="b" />
            <TextBlock x:Name="tbBike3" FontFamily="Webdings" FontSize="64" Margin="10 0 0 0" Text="b" />-->
        </StackPanel>
        <StackPanel x:Name="bottomPanel" Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Center"
                    Background="{ThemeResource SystemAltLowColor}">
                    <!--Background="{ThemeResource SolidBackgroundFillColorBase}">-->
            <Button x:Name="prepareRaceButton" Click="PrepareRaceButton_Click" Margin="10 5 0 5">Prepare Race</Button>
            <Button x:Name="startRaceButton" Click="StartRaceButton_Click" Margin="10 5 0 5">Start Race</Button>
            <Button x:Name="startFromDepoButton" Click="StartNextFromDepoButton_Click" Margin="10 5 0 5">Start Next Bike From Depo</Button>
        </StackPanel>
    </Grid>

</Window>
