<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SeatedSkeletion" 
        Height="600" Width="800" >
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Viewbox Grid.Row="1" Stretch="Uniform" >
            <Grid>
                <Image Name="Rgb_Image" Width="640" Height="480" />
                <Canvas x:Name="Skeleton_Canvas" Grid.Row="1"
                        Width="{Binding ElementName=Rgb_Image,Path=ActualWidth}"
                        Height="{Binding ElementName=Rgb_Image,Path=ActualHeight}"/>
            </Grid>
        </Viewbox>
        <ComboBox x:Name="Mode_ComboBox" Grid.Row="0" SelectedIndex="0"
                      SelectionChanged="Mode_ComboBox_SelectionChanged">
            <TextBlock Text="全身" Tag="1"/>
            <TextBlock Text="上半身" Tag="2"/>
        </ComboBox>
    </Grid>
</Window>
