<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:VerRoVerClientTool" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="VerRoVerClientTool.MainWindow"
        Title="VerRoVer Client Tool" Height="830.87" Width="967.478">
    <Grid RenderTransformOrigin="0.495,0.538">
        <Grid.RowDefinitions>
            <RowDefinition Height="700*"/>
            <RowDefinition Height="71*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="333*"/>
            <ColumnDefinition Width="622*"/>
        </Grid.ColumnDefinitions>
        <Button Name="btRequestTest" Content="Request test data" Grid.Row="1" HorizontalAlignment="Left" Height="30"  VerticalAlignment="Top" Width="127" Click="Button_RequestData_Click" Margin="71,0.477,0,0" ToolTip="Request test data from tracim server" />
        <Button Name="btSubmitResults" Content="Submit results" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Height="30"  VerticalAlignment="Top" Width="128" Click="Button_SubmitResults_Click" Margin="279.346,0.477,0,0" IsEnabled="False" ToolTip="Submit results to tracim server" />
        <StatusBar Name="stbStatus" HorizontalAlignment="Left" Height="25"  VerticalAlignment="Bottom" Width="964" Grid.ColumnSpan="2" RenderTransformOrigin="0.501,-1.08" Grid.Row="1">
            <StatusBarItem>
                <TextBlock Name="txtStatus">Text</TextBlock>
            </StatusBarItem>
        </StatusBar>
        <Button Name="btEvaluate" Content="Load results" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Height="30"  VerticalAlignment="Top" Width="128" Click="Button_EvaluateResults_Click" Margin="93.346,0.477,0,0" IsEnabled="True" ToolTip="Load results from ascii files"/>
        <WebBrowser x:Name="wbDisplay"  Grid.Column="1" HorizontalAlignment="Left" Margin="30,60" VerticalAlignment="Top"/>
        <TextBlock x:Name="tbActualXML" Grid.Column="1" HorizontalAlignment="Left" Margin="10,23,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="345" Height="16" FontSize="11"/>
        <Button Name="btClose" Content="Close" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Height="30"  VerticalAlignment="Top" Width="128" Click="Button_Close_Click" Margin="462.346,0.477,0,0" />

        <GroupBox Header="Software related" HorizontalAlignment="Left" Margin="21,290,0,0" VerticalAlignment="Top" Width="303" Height="190" Grid.Column="0" Grid.Row="0">
            <Grid >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="98*"/>
                    <ColumnDefinition Width="193*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="42*"/>
                    <RowDefinition Height="42*"/>
                    <RowDefinition Height="42*"/>
                    <RowDefinition Height="43*"/>
                </Grid.RowDefinitions>

                <TextBox x:Name="tbSoftwareName" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left" Height="24"  TextWrapping="Wrap" Text="{Binding softwareName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center"   Margin="5.206,9,0,9.168" Width="170"/>
                <TextBlock HorizontalAlignment="Left" Grid.Column="0" Grid.Row="0" TextWrapping="Wrap" VerticalAlignment="Center" Text="Software name" TextAlignment="Right"  Height="16" Margin="0,8.907,0,9.187" Width="87"/>

                <TextBox x:Name="tbSoftwareVersion" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Height="24"  TextWrapping="Wrap" Text="{Binding softwareVersion, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="center"   Margin="5.206,8.832,0,9.336" Width="170"/>
                <TextBlock HorizontalAlignment="Left"  Grid.Column="0" Grid.Row="1" TextWrapping="Wrap" VerticalAlignment="Center" Text="Software version" TextAlignment="Right"  Height="16" Margin="0,4" Width="88" />

                <TextBox x:Name="tbSoftwareRevision" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" Height="24" TextWrapping="Wrap" Text="{Binding softwareRevision, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center"  Margin="5.206,8.664,0,9.505" Width="170"/>
                <TextBlock HorizontalAlignment="Left"  Grid.Column="0" Grid.Row="2" TextWrapping="Wrap"  VerticalAlignment="Center" Text="Software revision" TextAlignment="Right"  Height="16" Margin="0,4" Width="91"/>

                <TextBox x:Name="tbSoftwareVendor" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left" Height="24" TextWrapping="Wrap" Text="{Binding softwareVendor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center"  Margin="5.206,9.495,0,9.57" Width="170"/>
                <TextBlock HorizontalAlignment="Left"  Grid.Column="0" Grid.Row="3" TextWrapping="Wrap" VerticalAlignment="Center" Text="Software vendor" TextAlignment="Right"  Height="16" Margin="0,4" Width="87"/>


            </Grid>
        </GroupBox>

        <GroupBox Header="Connection settings"  Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="21,8,0,0" VerticalAlignment="Top" Height="154" Width="303">
            <Grid Height="136" Margin="0,0,12.692,0" VerticalAlignment="Top">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="49*"/>
                    <ColumnDefinition Width="90*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24*"/>
                    <RowDefinition Height="24*"/>
                    <RowDefinition Height="24*"/>
                    <RowDefinition Height="24*"/>
                </Grid.RowDefinitions>
                <TextBox  x:Name="tbTraCIMServer" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left" Height="24"  Margin="6.206,5,0,5.093" TextWrapping="Wrap" Text="{Binding TraCIMServer, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Width="170"/>
                <TextBlock HorizontalAlignment="Left" Grid.Column="0" Grid.Row="0" TextWrapping="Wrap" Text="TraCIM Server" TextAlignment="Right" VerticalAlignment="Center" Width="71" Height="16" Margin="10,9,0,9.093"/>

                <TextBox  x:Name="proxy" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Height="24" Margin="6.206,4.907,0,5.187" TextWrapping="Wrap" Text="{Binding proxyServer, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Width="170" ToolTip="Server:Port (leave blank if not applicable)"/>
                <TextBlock HorizontalAlignment="Left" Grid.Column="0" Grid.Row="1"  TextWrapping="Wrap" Text="Proxy-Server" TextAlignment="Right" VerticalAlignment="Center" Width="71" Height="16" Margin="10,8.907,0,9.187"/>

                <TextBox  x:Name="proxyUser" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" Height="24" Margin="6.206,4.813,0,5.28" TextWrapping="Wrap" Text="{Binding proxyUser, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Width="170" ToolTip="Proxy username (leave blank if not applicable)"/>
                <TextBlock Grid.Column="0" Grid.Row="2"  TextWrapping="Wrap" Text="Username" TextAlignment="Right" VerticalAlignment="Center" Height="16" Margin="10,8.813,16.794,9.28"/>

                <TextBox  x:Name="proxyPassword" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left" Height="24" Margin="6.206,4.72,0,5.374" TextWrapping="Wrap" Text="{Binding proxyPassword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Width="170" ToolTip="Proxy password (leave blank if not applicable)"/>
                <TextBlock HorizontalAlignment="Left" Grid.Column="0" Grid.Row="3"  TextWrapping="Wrap" Text="Password" TextAlignment="Right" VerticalAlignment="Center" Width="71" Height="16" Margin="10,8.72,0,9.374"/>
 
            </Grid>
        </GroupBox>



        <GroupBox Header="Test related"  Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="21,176,0,0" VerticalAlignment="Top" Height="100" Width="303">
            <Grid Height="81" Margin="0,0,17.692,0" VerticalAlignment="Top">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="14*"/>
                    <ColumnDefinition Width="25*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24*"/>
                    <RowDefinition Height="24*"/>
 
                </Grid.RowDefinitions>

                <TextBox  x:Name="tbOrderID" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left" Height="24" Margin="7.103,8,-0.252,8.374" TextWrapping="Wrap" Text="{Binding OrderKey, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Width="169" ToolTip="Your order key "/>
                <TextBlock HorizontalAlignment="Left" Grid.Column="0" Grid.Row="0"  TextWrapping="Wrap" Text="Order ID" TextAlignment="Right" VerticalAlignment="Center" Width="71" Height="16" Margin="10,12,0,12.374"/>

                <TextBox  x:Name="tbProcessID" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Height="24" Margin="7.103,8.626,-0.252,7.748" TextWrapping="Wrap" Text="{Binding ProcessKey, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Width="169" IsEnabled="True" ToolTip="Process key"/>
                <TextBlock Grid.Column="0" Grid.Row="1"  TextWrapping="Wrap" VerticalAlignment="Center" Height="16" Text="Process ID" TextAlignment="Right" Margin="10,12.626,0,11.748" HorizontalAlignment="Left" Width="71"/>

            </Grid>
        </GroupBox>




        <GroupBox Header="MPE"  Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="21,489,0,0" Width="303" Height="72" VerticalAlignment="Top">
            <Grid Margin="0,0,-2.308,0" RenderTransformOrigin="0.52,0.646" Height="52" VerticalAlignment="Top">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="103*"/>
                    <ColumnDefinition Width="90*"/>
                    <ColumnDefinition Width="100*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                </Grid.RowDefinitions>

                <TextBox x:Name="tbMPE_orientation" Text="{Binding MPE, Mode=TwoWay, UpdateSourceTrigger=LostFocus,StringFormat=G}" Grid.Row="0" VerticalAlignment="Center" Margin="103,15,6.897,15.037" Height="22" Grid.ColumnSpan="2"/>
                <TextBlock HorizontalAlignment="Left" Height="23"  TextWrapping="Wrap"  VerticalAlignment="Center" Width="68" Grid.Column="0" Grid.Row="0" TextAlignment="Right" Margin="19,18,0,11.037"  ><Run Language="de-de" Text="All Values"/></TextBlock>
                <TextBlock HorizontalAlignment="Left" Height="24" TextWrapping="Wrap" VerticalAlignment="Center" Width="48" Grid.Column="2" Grid.Row="0" Margin="1.103,17,0,11.037"><Run Text="µ"/><Run Language="de-de" Text="m"/></TextBlock>

            </Grid>
        </GroupBox>
        <TextBlock HorizontalAlignment="Left" Height="65" Margin="21,656,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="289">To get your individual order key for example data please register at 
            <Hyperlink NavigateUri="https://tracim.ptb.de/tracim/customer/registration.jsf" RequestNavigate="Infolink_RequestNavigate">tracim.ptb.de</Hyperlink></TextBlock>
        <GroupBox Header="Demo Mode"  Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="21,573,0,0" Width="303" Height="72" VerticalAlignment="Top">
            <CheckBox x:Name="modeCheckBox" Content="Demo Mode for free test" IsChecked="{Binding loadFreeData}" HorizontalAlignment="Left" Height="39" VerticalAlignment="Top" Width="168" Margin="91,15,0,-2.86" ToolTip="If checked then &quot;Load results&quot; button will load the results for the free test data."/>
        </GroupBox>
        <Button x:Name="btRequestTest_Copy" Content="Load test data " Grid.Row="1" HorizontalAlignment="Left" Height="30"  VerticalAlignment="Top" Width="127" Click="Button_LoadData_Click" Margin="249,0.477,0,0" Grid.ColumnSpan="2" ToolTip="Load test data from xml file" />

    </Grid>
</Window>
