<Window x:Class="MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ApplicationFundamentals" Height="480" Width="640">
    <Grid>
        <StackPanel>
            <Image x:Name="ColorImageElement"/>
        </StackPanel>

        <Border Padding="10" Background="#5F000000" HorizontalAlignment="Left" VerticalAlignment="Top" MinWidth="220">
            <StackPanel TextBlock.Foreground="White">
                <TextBlock x:Name="StatusElement"/>

                <Button Content="Start Kinect" Click="StartButton_Click"/>
                <Button Content="Stop Kinect" Click="StopButton_Click"/>
                <Button Content="Take Picture" Click="TakePictureButton_Click"/>

                <StackPanel Margin="0,10,0,0">
                    <TextBlock Text="Image Treatment:"/>
                    <ComboBox x:Name="ImageTreatmentSelector" SelectedIndex="0">
                        <TextBlock Text="シンプル実装 (リスト 2-4)" Tag="1"/>
                        <TextBlock Text="処理能力向上 (リスト 2-5)" Tag="2"/>
                        <TextBlock Text="赤表示" Tag="3"/>
                    </ComboBox>
                </StackPanel>
            </StackPanel>
        </Border>
    </Grid>
</Window>
