<Window
        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" mc:Ignorable="d" x:Class="MEMS_Visualizer.MainWindow"
        Title="Hand Movement" Height="350" Width="525">
    <Grid>
        <Menu x:Name="MainMenu" Margin="0" VerticalAlignment="Top">
            <MenuItem x:Name="fileMenu" Header="_File">
                <MenuItem x:Name="fileOpenMenuItem" Header="_Open..." HorizontalAlignment="Left" Width="139.5" Click="fileOpenMenuItem_Click"/>
                <MenuItem x:Name="fileExitMenuItem" Header="E_xit" HorizontalAlignment="Left" Width="139.5" Click="fileExitMenuItem_Click"/>
            </MenuItem>
        </Menu>
        <Viewbox x:Name="modelView" Margin="10,23,146.667,28.667"/>
        
        <StackPanel HorizontalAlignment="Right" Margin="0,23,9.667,9.667">
            <Label Content="Hand Rotation" FontWeight="Bold"/>
            <StackPanel VerticalAlignment="Top" Orientation="Horizontal">
                <Label Content="X ="/>
                <TextBox x:Name="xRotationLabel" Text="0" TextChanged="xRotationLabel_TextChanged" Width="50">
                </TextBox>
            </StackPanel>
            <StackPanel VerticalAlignment="Top" Orientation="Horizontal">
                <Label Content="Y ="/>
                <TextBox x:Name="yRotationLabel" Text="0" TextChanged="yRotationLabel_TextChanged" Width="50"/>
            </StackPanel>
            <StackPanel VerticalAlignment="Top" Orientation="Horizontal">
                <Label Content="Z ="/>
                <TextBox x:Name="zRotationLabel" Text="0" TextChanged="zRotationLabel_TextChanged" Width="50"/>
            </StackPanel>
            <Label Content="Thumb Position" FontWeight="Bold"/>
            <StackPanel VerticalAlignment="Top" Orientation="Horizontal">
                <Label Content="θ ="/>
                <TextBox x:Name="thumbPositionLabel" Text="0" TextChanged="thumbPositionLabel_TextChanged" Width="50"/>
            </StackPanel>
            <StackPanel VerticalAlignment="Top" Orientation="Horizontal">
                <Label Content="X ="/>
                <TextBox x:Name="xThumbRotationLabel" Text="0" TextChanged="xThumbRotationLabel_TextChanged" Width="50"/>
            </StackPanel>
            <StackPanel VerticalAlignment="Top" Orientation="Horizontal">
                <Label Content="Y ="/>
                <TextBox x:Name="yThumbRotationLabel" Text="0" TextChanged="yThumbRotationLabel_TextChanged" Width="50"/>
            </StackPanel>
            <StackPanel VerticalAlignment="Top" Orientation="Horizontal">
                <Label Content="Z ="/>
                <TextBox x:Name="zThumbRotationLabel" Text="0" TextChanged="zThumbRotationLabel_TextChanged" Width="50"/>
            </StackPanel>
            
            <StackPanel  VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0">
                <Button x:Name="PreviousButton" Content="&lt;-" HorizontalAlignment="Center" VerticalAlignment="Bottom" Click="PreviousButton_Click"/>
                <TextBox x:Name="currentIndexTextbox" TextWrapping="Wrap" Text="0/0" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Center" IsReadOnly="True" Width="63" TextAlignment="Center"/>
                <Button x:Name="NextButton" Content="-&gt;" HorizontalAlignment="Center" VerticalAlignment="Bottom" Click="NextButton_Click"/>
            </StackPanel>
        </StackPanel>

    </Grid>
</Window>
