<Window x:Class="GettingConnectedWithKinect.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="768" Width="1024">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        
        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Image x:Name="ColorImage" Width="320" Height="240"/>
            <Image x:Name="DepthImage" Width="320" Height="240"/>
            <Canvas x:Name="SkeletonCanvas" Width="320" Height="240">
                <Ellipse Canvas.Left="0" Canvas.Top="0" Height="30" Name="EllipseHead" Stroke="Black" Width="30" Fill="Orange" />
                <Ellipse Canvas.Left="30" Canvas.Top="0" Height="30" Name="EllipseRight" Stroke="Black" Width="30" Fill="SlateGray" />
                <Ellipse Canvas.Left="60" Canvas.Top="0" Height="30" Name="EllipseLeft" Stroke="Black" Width="30" Fill="SpringGreen" />
            </Canvas>
        </StackPanel>

        <StackPanel Grid.Row="1">
            <TextBlock x:Name="SoundAngle" FontSize="24">Angle</TextBlock>
            <TextBlock x:Name="Speech" FontSize="24">Speech</TextBlock>
        </StackPanel>
        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Grid.Row="2" Click="Start_Click" Width="100">Start</Button>
            <Button Grid.Row="2" Click="StartSpeech_Click" Width="100">Start Speech</Button>
            <CheckBox x:Name="CheckFullDepth">Full Depth</CheckBox>
        </StackPanel>

    </Grid>
</Window>
