<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:BeginningKinect.Chapter9.CatFace"
        Title="CatFace"
        Closed="WindowClosed"
        Height="535" Width="770">
    <Grid>
        <Viewbox Grid.Row="1" Stretch="Uniform" HorizontalAlignment="Center">
            <Grid Name="MainGrid" Width="640" Height="480">
                <Image x:Name="Rgb_Image" />
                <local:FaceTrackingViewer x:Name="faceTrackingViewer" />
            </Grid>
        </Viewbox>
        <ComboBox x:Name="Mode_ComboBox" SelectedIndex="0" Height="20" VerticalAlignment="Top"
                      SelectionChanged="Mode_ComboBox_SelectionChanged">
            <TextBlock Text="全身" Tag="1"/>
            <TextBlock Text="上半身" Tag="2"/>
        </ComboBox>
    </Grid>
</Window>
