<Window x:Class="MainWindow"
        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:Starfield"
        mc:Ignorable="d"
        Title="Starfield" Height="650" Width="800" Loaded="Window_Loaded" Closing="Window_Closing">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
        </Grid.RowDefinitions>
        <Canvas Grid.Row="0" Name="canvas1" Background="Black"></Canvas>
        <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10">
            <Label Margin="0,0,5,0">Warp Factor:</Label>
            <Slider Width="150" Minimum="0" Maximum="9" Value="4" TickFrequency="1" TickPlacement="Both" IsSnapToTickEnabled="True" Name="SldSpeed" ValueChanged="SldSpeed_ValueChanged"></Slider>
            <TextBox Width="40" Name="TxtSpeed" Margin="15,3,3,3"></TextBox>
            <Button Width="80" FontSize="14" FontWeight="Bold" Margin="60,0,0,0" Name="BtnStart" Click="BtnStart_Click">ENGAGE</Button>
        </StackPanel>
    </Grid>
</Window>
