Subversion Repositories Projects

Rev

Rev 2300 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2300 Rev 2309
Line 406... Line 406...
406
                        <Rectangle x:Name="rectTopVoltage" HorizontalAlignment="Left" Height="28" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="89" StrokeThickness="3" Fill="#00000000"/>
406
                        <Rectangle x:Name="rectTopVoltage" HorizontalAlignment="Left" Height="28" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="89" StrokeThickness="3" Fill="#00000000"/>
407
                        <Rectangle Fill="#FFE8E8FF" HorizontalAlignment="Left" Height="13" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="6" StrokeThickness="2" Canvas.Left="89" Canvas.Top="8"/>
407
                        <Rectangle Fill="#FFE8E8FF" HorizontalAlignment="Left" Height="13" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="6" StrokeThickness="2" Canvas.Left="89" Canvas.Top="8"/>
408
                        <ProgressBar x:Name="pbTopVoltage" HorizontalAlignment="Left" Height="22" VerticalAlignment="Top" Width="83" Foreground="#FF6BC37B" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" BorderBrush="{x:Null}" BorderThickness="0" Background="#00000000" ToolTip="Voltage of LiPo" Canvas.Left="3" Canvas.Top="3"/>
408
                        <ProgressBar x:Name="pbTopVoltage" HorizontalAlignment="Left" Height="22" VerticalAlignment="Top" Width="83" Foreground="#FF6BC37B" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" BorderBrush="{x:Null}" BorderThickness="0" Background="#00000000" ToolTip="Voltage of LiPo" Canvas.Left="3" Canvas.Top="3"/>
409
                        <TextBox x:Name="tbTopVoltage" HorizontalAlignment="Left" Height="25" TextWrapping="Wrap" Text="0 V" VerticalAlignment="Top" Width="76" BorderBrush="{x:Null}" FontSize="14" HorizontalContentAlignment="Center" Background="{x:Null}" Padding="1" Foreground="White" VerticalContentAlignment="Center" AllowDrop="False" Focusable="False" IsHitTestVisible="False" IsTabStop="False" IsUndoEnabled="False" IsReadOnly="True" Canvas.Left="7" Canvas.Top="1" ToolTip="Voltage of LiPo"/>
409
                        <TextBox x:Name="tbTopVoltage" HorizontalAlignment="Left" Height="25" TextWrapping="Wrap" Text="0 V" VerticalAlignment="Top" Width="76" BorderBrush="{x:Null}" FontSize="14" HorizontalContentAlignment="Center" Background="{x:Null}" Padding="1" Foreground="White" VerticalContentAlignment="Center" AllowDrop="False" Focusable="False" IsHitTestVisible="False" IsTabStop="False" IsUndoEnabled="False" IsReadOnly="True" Canvas.Left="7" Canvas.Top="1" ToolTip="Voltage of LiPo"/>
410
                    </Canvas>
410
                    </Canvas>
411
                    <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCapacity}">
411
                    <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCapacity}" ToolTip="capacity used">
412
                        <TextBox x:Name="tbTopCapacity" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 mAh" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="capacity used" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
412
                        <TextBox x:Name="tbTopCapacity" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 mAh" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="capacity used" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
413
                        <Image x:Name="imageFlightTime_Copy" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Consumption.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="67.993" Canvas.Top="4"/>
413
                        <Image x:Name="imageFlightTime_Copy" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Consumption.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="67.993" Canvas.Top="4"/>
414
                    </Canvas>
414
                    </Canvas>
415
                    <Canvas Margin="1,2,2,3" Width="72" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCurrent}">
415
                    <Canvas Margin="1,2,2,3" Width="72" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCurrent}" ToolTip="Current">
416
                        <TextBox x:Name="tbTopCurrent" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 A" VerticalAlignment="Top" Width="72" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="capacity used" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
416
                        <TextBox x:Name="tbTopCurrent" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 A" VerticalAlignment="Top" Width="72" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="Current" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
417
                        <Image x:Name="imageFlightTime_Copy4" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Blitz.png" HorizontalAlignment="Left" Width="16.007" Canvas.Left="56.493" Canvas.Top="4"/>
417
                        <Image x:Name="imageFlightTime_Copy4" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Blitz.png" HorizontalAlignment="Left" Width="16.007" Canvas.Left="56.493" Canvas.Top="4"/>
418
                    </Canvas>
418
                    </Canvas>
419
                    <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowFlightTime}">
419
                    <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowFlightTime}" ToolTip="flight time since take off">
420
                        <TextBox x:Name="tbTopFTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="00:00:00" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="flight time since motor start" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
420
                        <TextBox x:Name="tbTopFTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="00:00:00" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="flight time since take off" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
421
                        <Image x:Name="imageFlightTime" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="63.331" Canvas.Top="2.252"/>
421
                        <Image x:Name="imageFlightTime" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="63.331" Canvas.Top="2.252"/>
422
                    </Canvas>
422
                    </Canvas>
423
                    <Canvas Margin="1,2,2,3" Width="84" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowDistanceHP}">
423
                    <Canvas Margin="1,2,2,3" Width="84" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowDistanceHP}">
424
                        <Rectangle HorizontalAlignment="Right" Width="84" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31">
424
                        <Rectangle HorizontalAlignment="Right" Width="84" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31">
425
                            <Rectangle.Style>
425
                            <Rectangle.Style>
Line 434... Line 434...
434
                        </Rectangle>
434
                        </Rectangle>
435
                        <TextBox x:Name="tbTopDistanceHP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="84" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance to home position" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
435
                        <TextBox x:Name="tbTopDistanceHP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="84" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance to home position" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
436
                        <Image x:Name="imageHome" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Home1.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="54.831" Canvas.Top="2.252"/>
436
                        <Image x:Name="imageHome" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Home1.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="54.831" Canvas.Top="2.252"/>
437
                        <Button x:Name="btnTopHome" Content="" Click="btnSetHP_Click" Background="{x:Null}" BorderThickness="0" BorderBrush="{x:Null}" Height="31" VerticalAlignment="Top" Foreground="{x:Null}" Focusable="False" Style="{DynamicResource ButtonWithoutEffectStyle}" ToolTip="set home position @actual position (center screen)" HorizontalAlignment="Right" Width="84"/>
437
                        <Button x:Name="btnTopHome" Content="" Click="btnSetHP_Click" Background="{x:Null}" BorderThickness="0" BorderBrush="{x:Null}" Height="31" VerticalAlignment="Top" Foreground="{x:Null}" Focusable="False" Style="{DynamicResource ButtonWithoutEffectStyle}" ToolTip="set home position @actual position (center screen)" HorizontalAlignment="Right" Width="84"/>
438
                    </Canvas>
438
                    </Canvas>
439
                    <Canvas Margin="1,2,2,3" Width="61" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowHeight}">
439
                    <Canvas Margin="1,2,2,3" Width="61" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowHeight}" ToolTip="height">
440
                        <TextBox x:Name="tbTopHeight" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance to home position" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
440
                        <TextBox x:Name="tbTopHeight" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="height" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
441
                        <Image x:Name="imageFlightTime_Copy2" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4"/>
441
                        <Image x:Name="imageFlightTime_Copy2" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4"/>
442
                    </Canvas>
442
                    </Canvas>
443
                    <Canvas Margin="1,2,2,1" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSpeed}">
443
                    <Canvas Margin="1,2,2,1" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSpeed}" ToolTip="groundspeed">
444
                        <TextBox x:Name="tbTopSpeed" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 m/s" VerticalAlignment="Top" Width="95" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="groundspeed" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
444
                        <TextBox x:Name="tbTopSpeed" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 m/s" VerticalAlignment="Top" Width="95" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="groundspeed" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/>
445
                        <Image x:Name="imageFlightTime_Copy3" Height="19.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Tacho.png" HorizontalAlignment="Left" Width="29.375" Canvas.Left="63.754" Canvas.Top="6.25"/>
445
                        <Image x:Name="imageFlightTime_Copy3" Height="19.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Tacho.png" HorizontalAlignment="Left" Width="29.375" Canvas.Left="63.754" Canvas.Top="6.25"/>
446
                    </Canvas>
446
                    </Canvas>
447
                    <Canvas Margin="0,2,2,0" Width="83" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowMF}">
447
                    <Canvas Margin="0,2,2,0" Width="83" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowMF}" ToolTip="earth magnetic field">
448
                        <TextBox x:Name="tbTopEarthMag" Height="31" TextWrapping="Wrap" Text="100%" VerticalAlignment="Top" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="earth magnetic field" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" HorizontalAlignment="Left" Width="84"/>
448
                        <TextBox x:Name="tbTopEarthMag" Height="31" TextWrapping="Wrap" Text="100%" VerticalAlignment="Top" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="earth magnetic field" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" HorizontalAlignment="Left" Width="84"/>
449
                        <Image x:Name="imageEarthMag" Height="36.75" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/EarthMag.png" HorizontalAlignment="Left" Width="36.876" Canvas.Left="46.289" Canvas.Top="0.582"/>
449
                        <Image x:Name="imageEarthMag" Height="36.75" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/EarthMag.png" HorizontalAlignment="Left" Width="36.876" Canvas.Left="46.289" Canvas.Top="0.582"/>
450
                    </Canvas>
450
                    </Canvas>
451
                    <Canvas Margin="1,2,2,3" Width="56" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSatellites}">
451
                    <Canvas Margin="1,2,2,3" Width="56" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSatellites}" ToolTip="Satellites">
452
                        <TextBox x:Name="tbTopSats" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="56" IsReadOnly="True" IsUndoEnabled="False" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" ToolTip="Satellites"/>
452
                        <TextBox x:Name="tbTopSats" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="56" IsReadOnly="True" IsUndoEnabled="False" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" ToolTip="Satellites"/>
453
                        <Image x:Name="imageSat" Height="25.958" VerticalAlignment="Top" Stretch="Fill" UseLayoutRounding="False" Source="Images/Satellite1.png" HorizontalAlignment="Left" Width="23.583" Canvas.Left="25.667" Canvas.Top="1.752"/>
453
                        <Image x:Name="imageSat" Height="25.958" VerticalAlignment="Top" Stretch="Fill" UseLayoutRounding="False" Source="Images/Satellite1.png" HorizontalAlignment="Left" Width="23.583" Canvas.Left="25.667" Canvas.Top="1.752"/>
454
                    </Canvas>
454
                    </Canvas>
455
                    <Canvas Margin="1,2,2,2.4" Width="62" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowRC}">
455
                    <Canvas Margin="1,2,2,2.4" Width="62" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowRC}" ToolTip="RC quality level (200 max)">
456
                        <TextBox x:Name="tbTopRC" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="62" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" ToolTip="RC quality"/>
456
                        <TextBox x:Name="tbTopRC" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="62" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" ToolTip="RC quality"/>
457
                        <Image x:Name="imageRC" Height="27.958" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/RC1.png" HorizontalAlignment="Left" Width="23.833" Canvas.Left="33.917" Canvas.Top="1.752"/>
457
                        <Image x:Name="imageRC" Height="27.958" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/RC1.png" HorizontalAlignment="Left" Width="23.833" Canvas.Left="33.917" Canvas.Top="1.752"/>
458
                    </Canvas>
458
                    </Canvas>
459
                </StackPanel>
459
                </StackPanel>
460
                <Canvas Margin="0,2,42,3" Width="70" HorizontalAlignment="Right">
460
                <Canvas Margin="0,2,42,3" Width="70" HorizontalAlignment="Right">
Line 487... Line 487...
487
                    </Rectangle>
487
                    </Rectangle>
488
                    <Image x:Name="imageFullscreen" Height="25.458" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Fullscreen.png" HorizontalAlignment="Right" Width="22.75" MouseDown="imageFullscreen_MouseDown" ToolTip="Toggle fullscreen" Canvas.Left="5.75" Canvas.Top="4.002"/>
488
                    <Image x:Name="imageFullscreen" Height="25.458" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Fullscreen.png" HorizontalAlignment="Right" Width="22.75" MouseDown="imageFullscreen_MouseDown" ToolTip="Toggle fullscreen" Canvas.Left="5.75" Canvas.Top="4.002"/>
489
                </Canvas>
489
                </Canvas>
490
            </Grid>
490
            </Grid>
491
            <Grid x:Name="GridSideBar" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Left" Width="23">
491
            <Grid x:Name="GridSideBar" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Left" Width="23">
492
                <Label x:Name="labelData" Content="Data" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" MouseDown="labelData_MouseDown" RenderTransformOrigin="0.5,0.5" Margin="-26,308,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" >
492
                <Label x:Name="labelData" Content="Data" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" MouseDown="labelData_MouseDown" RenderTransformOrigin="0.5,0.5" Margin="-26,50,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" FontSize="14" >
493
                    <Label.RenderTransform>
493
                    <Label.RenderTransform>
494
                        <TransformGroup>
494
                        <TransformGroup>
495
                            <ScaleTransform/>
495
                            <ScaleTransform/>
496
                            <SkewTransform/>
496
                            <SkewTransform/>
497
                            <RotateTransform Angle="-90"/>
497
                            <RotateTransform Angle="-90"/>
Line 510... Line 510...
510
                                </DataTrigger>
510
                                </DataTrigger>
511
                            </Style.Triggers>
511
                            </Style.Triggers>
512
                        </Style>
512
                        </Style>
513
                    </Label.Style>
513
                    </Label.Style>
514
                </Label>
514
                </Label>
515
                <Label x:Name="labelSettings" Content="Settings" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,383,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelSettings_MouseDown" FontSize="14">
515
                <Label x:Name="labelSettings" Content="Settings" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,125,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelSettings_MouseDown" FontSize="14">
516
                    <Label.RenderTransform>
516
                    <Label.RenderTransform>
517
                        <TransformGroup>
517
                        <TransformGroup>
518
                            <ScaleTransform/>
518
                            <ScaleTransform/>
519
                            <SkewTransform/>
519
                            <SkewTransform/>
520
                            <RotateTransform Angle="-90"/>
520
                            <RotateTransform Angle="-90"/>
Line 533... Line 533...
533
                                </DataTrigger>
533
                                </DataTrigger>
534
                            </Style.Triggers>
534
                            </Style.Triggers>
535
                        </Style>
535
                        </Style>
536
                    </Label.Style>
536
                    </Label.Style>
537
                </Label>
537
                </Label>
538
                <Label x:Name="labelLog" Content="LOG" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,0,-25,27" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelLog_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Bottom">
538
                <Label x:Name="labelLog" Content="LOG" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,0,-25,27" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelLog_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Bottom">
539
                    <Label.RenderTransform>
539
                    <Label.RenderTransform>
540
                        <TransformGroup>
540
                        <TransformGroup>
541
                            <ScaleTransform/>
541
                            <ScaleTransform/>
542
                            <SkewTransform/>
542
                            <SkewTransform/>
543
                            <RotateTransform Angle="-90"/>
543
                            <RotateTransform Angle="-90"/>
Line 556... Line 556...
556
                                </DataTrigger>
556
                                </DataTrigger>
557
                            </Style.Triggers>
557
                            </Style.Triggers>
558
                        </Style>
558
                        </Style>
559
                    </Label.Style>
559
                    </Label.Style>
560
                </Label>
560
                </Label>
561
                <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,233,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
562
                    <Label.RenderTransform>
-
 
563
                        <TransformGroup>
-
 
564
                            <ScaleTransform/>
-
 
565
                            <SkewTransform/>
-
 
566
                            <RotateTransform Angle="-90"/>
-
 
567
                            <TranslateTransform/>
-
 
568
                        </TransformGroup>
-
 
569
                    </Label.RenderTransform>
-
 
570
                    <Label.Style>
-
 
571
                        <Style TargetType="{x:Type Label}">
-
 
572
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
573
                            <Style.Triggers>
-
 
574
                                <Trigger Property="IsMouseOver" Value="True">
-
 
575
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
576
                                </Trigger>
-
 
577
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridMotors}" Value="True">
-
 
578
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
579
                                </DataTrigger>
-
 
580
                            </Style.Triggers>
-
 
581
                        </Style>
-
 
582
                    </Label.Style>
-
 
583
                </Label>
-
 
584
                <Label x:Name="labelOSD" Content="OSD" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,158,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelOSD_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
585
                    <Label.RenderTransform>
-
 
586
                        <TransformGroup>
-
 
587
                            <ScaleTransform/>
-
 
588
                            <SkewTransform/>
-
 
589
                            <RotateTransform Angle="-90"/>
-
 
590
                            <TranslateTransform/>
-
 
591
                        </TransformGroup>
-
 
592
                    </Label.RenderTransform>
-
 
593
                    <Label.Style>
-
 
594
                        <Style TargetType="{x:Type Label}">
-
 
595
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
596
                            <Style.Triggers>
-
 
597
                                <Trigger Property="IsMouseOver" Value="True">
-
 
598
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
599
                                </Trigger>
-
 
600
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridOSD}" Value="True">
-
 
601
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
602
                                </DataTrigger>
-
 
603
                            </Style.Triggers>
-
 
604
                        </Style>
-
 
605
                    </Label.Style>
-
 
606
                </Label>
-
 
607
                <Label x:Name="labelWaypoints" Content="Waypoints" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,458,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelWaypoints_MouseDown" FontSize="14">
561
                <Label x:Name="labelWaypoints" Content="Waypoints" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,200,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelWaypoints_MouseDown" FontSize="14">
608
                    <Label.RenderTransform>
562
                    <Label.RenderTransform>
609
                        <TransformGroup>
563
                        <TransformGroup>
610
                            <ScaleTransform/>
564
                            <ScaleTransform/>
611
                            <SkewTransform/>
565
                            <SkewTransform/>
612
                            <RotateTransform Angle="-90"/>
566
                            <RotateTransform Angle="-90"/>
Line 625... Line 579...
625
                                </DataTrigger>
579
                                </DataTrigger>
626
                            </Style.Triggers>
580
                            </Style.Triggers>
627
                        </Style>
581
                        </Style>
628
                    </Label.Style>
582
                    </Label.Style>
629
                </Label>
583
                </Label>
630
                <TextBox x:Name="tbSideBarStatusMotors" HorizontalAlignment="Right" Height="21" Margin="0,9,1,0" TextWrapping="NoWrap" Text="M" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Motors on/off" FontWeight="Bold">
-
 
631
                    <TextBox.Resources>
-
 
632
                        <Style TargetType="{x:Type Border}">
-
 
633
                            <Setter Property="CornerRadius" Value="30"/>
-
 
634
                        </Style>
-
 
635
                    </TextBox.Resources>
-
 
636
                </TextBox>
-
 
637
                <TextBox x:Name="tbSideBarStatusPH" HorizontalAlignment="Left" Height="19" Margin="1,32,0,0" Text="PH" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Position Hold / Coming Home" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/>
-
 
638
                <TextBox x:Name="tbSideBarStatusCF" HorizontalAlignment="Left" Height="19" Margin="1,53,0,0" Text="CF" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Carefree" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/>
-
 
639
                <TextBox x:Name="tbSideBarStatusAC" HorizontalAlignment="Left" Height="19" Margin="1,74,0,0" Text="AC" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Altitude control" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/>
-
 
640
                <TextBox x:Name="tbSideBarStatusEmergencyLanding" HorizontalAlignment="Left" Height="21" Margin="1,95,0,0" TextWrapping="NoWrap" Text="H" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Emergency landing" FontWeight="Bold">
-
 
641
                    <TextBox.Resources>
-
 
642
                        <Style TargetType="{x:Type Border}">
-
 
643
                            <Setter Property="CornerRadius" Value="30"/>
-
 
644
                        </Style>
-
 
645
                    </TextBox.Resources>
-
 
646
                </TextBox>
-
 
647
            </Grid>
584
            </Grid>
648
            <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" Visibility="Collapsed" >
585
            <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" Visibility="Collapsed" >
649
                <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0">
586
                <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0">
650
                    <TabItem Header="Analog">
587
                    <TabItem Header="Analog">
651
                        <Grid>
588
                        <Grid>
Line 958... Line 895...
958
                        <GradientStop Color="#FF9DCAF9" Offset="0"/>
895
                        <GradientStop Color="#FF9DCAF9" Offset="0"/>
959
                        <GradientStop Color="#FF004385" Offset="1"/>
896
                        <GradientStop Color="#FF004385" Offset="1"/>
960
                    </LinearGradientBrush>
897
                    </LinearGradientBrush>
961
                </Border.BorderBrush>
898
                </Border.BorderBrush>
962
            </Border>
899
            </Border>
963
            <ArtificialHorizon:ArtificialHorizon x:Name="ArtHor" Margin="0,0,-41,-26" Height="143" Width="177" HorizontalAlignment="Right" VerticalAlignment="Bottom" Visibility="{Binding IsChecked, ElementName=chkBoxShowHorizon, Converter={StaticResource BooleanToVisibility}}">
900
            <ArtificialHorizon:ArtificialHorizon x:Name="ArtHor" Margin="0,0,-22,-29" Height="143" Width="177" HorizontalAlignment="Right" VerticalAlignment="Bottom" Visibility="{Binding IsChecked, ElementName=chkBoxShowHorizon, Converter={StaticResource BooleanToVisibility}}">
964
                <ArtificialHorizon:ArtificialHorizon.RenderTransform>
901
                <ArtificialHorizon:ArtificialHorizon.RenderTransform>
965
                    <ScaleTransform
902
                    <ScaleTransform
966
                    CenterX="136"
903
                    CenterX="136"
967
                    CenterY="117"
904
                    CenterY="117"
968
                    ScaleX="{Binding ElementName=UIScaleHorizonSlider,Path=Value}"
905
                    ScaleX="{Binding ElementName=UIScaleHorizonSlider,Path=Value}"
Line 980... Line 917...
980
                />
917
                />
981
                </Grid.LayoutTransform>
918
                </Grid.LayoutTransform>
982
                <RichTextBox x:Name="rtfError" Height="60" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="216" Margin="0,0,7,2" />
919
                <RichTextBox x:Name="rtfError" Height="60" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="216" Margin="0,0,7,2" />
983
                <RichTextBox x:Name="rtfTerminal" Margin="0,0,228,2" HorizontalAlignment="Right" Width="276" Height="60" VerticalAlignment="Bottom" />
920
                <RichTextBox x:Name="rtfTerminal" Margin="0,0,228,2" HorizontalAlignment="Right" Width="276" Height="60" VerticalAlignment="Bottom" />
984
            </Grid>
921
            </Grid>
985
            <Grid x:Name="GridMotors" Margin="0,36,0,0" Background="#66000000" Height="285" VerticalAlignment="Top" HorizontalAlignment="Right" Width="132" Visibility="Hidden">
922
            <Grid x:Name="GridMotors" Margin="0,38,25,0" Background="#66000000" Height="285" VerticalAlignment="Top" HorizontalAlignment="Right" Width="132" Visibility="Hidden">
986
                <Grid.LayoutTransform>
923
                <Grid.LayoutTransform>
987
                    <ScaleTransform
924
                    <ScaleTransform
988
                    CenterX="0"
925
                    CenterX="0"
989
                    CenterY="0"
926
                    CenterY="0"
990
                    ScaleX="{Binding ElementName=UIScaleMotorsSlider,Path=Value}"
927
                    ScaleX="{Binding ElementName=UIScaleMotorsSlider,Path=Value}"
991
                    ScaleY="{Binding ElementName=UIScaleMotorsSlider,Path=Value}"
928
                    ScaleY="{Binding ElementName=UIScaleMotorsSlider,Path=Value}"
992
                />
929
                />
993
                </Grid.LayoutTransform>
930
                </Grid.LayoutTransform>
994
                <DataGrid x:Name="dgvMotors1" HorizontalAlignment="Left" Height="272" Margin="1,3,0,0" VerticalAlignment="Top" Width="137" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" IsReadOnly="True" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}"/>
931
                <DataGrid x:Name="dgvMotors1" HorizontalAlignment="Left" Height="272" Margin="1,3,-6,0" VerticalAlignment="Top" Width="137" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" IsReadOnly="True" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}"/>
995
                <!--<DataGrid x:Name="dgvMotors2" HorizontalAlignment="Left" Height="116" Margin="137,6,0,0" VerticalAlignment="Top" Width="129" ItemsSource="{Binding}" IsReadOnly="True" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="14" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}" Visibility="Collapsed"/>-->
932
                <!--<DataGrid x:Name="dgvMotors2" HorizontalAlignment="Left" Height="116" Margin="137,6,0,0" VerticalAlignment="Top" Width="129" ItemsSource="{Binding}" IsReadOnly="True" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="14" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}" Visibility="Collapsed"/>-->
996
            </Grid>
933
            </Grid>
997
            <Grid x:Name="GridOSD" Margin="0,36,136,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden">
934
            <Grid x:Name="GridOSD" Margin="0,38,330,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden">
998
                <Grid.LayoutTransform>
935
                <Grid.LayoutTransform>
999
                    <ScaleTransform
936
                    <ScaleTransform
1000
                    CenterX="0"
937
                    CenterX="0"
1001
                    CenterY="0"
938
                    CenterY="0"
1002
                    ScaleX="{Binding ElementName=UIScaleOSDSlider,Path=Value}"
939
                    ScaleX="{Binding ElementName=UIScaleOSDSlider,Path=Value}"
Line 1009... Line 946...
1009
                <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/>
946
                <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/>
1010
                <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/>
947
                <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/>
1011
                <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/>
948
                <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/>
1012
                <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/>
949
                <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/>
1013
            </Grid>
950
            </Grid>
1014
            <Grid x:Name="GridWP" Margin="23,36,0,0" Background="#7F000000" Height="275" VerticalAlignment="Top" Visibility="Collapsed">
951
            <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="275" VerticalAlignment="Top" Visibility="Collapsed">
1015
                <DataGrid x:Name="dgvWP" Height="162" Margin="10,10,10,0" VerticalAlignment="Top" Background="{x:Null}" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0"/>
952
                <DataGrid x:Name="dgvWP" Height="162" Margin="10,10,10,0" VerticalAlignment="Top" Background="{x:Null}" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0"/>
1016
                <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="39" Margin="10,172,0,0" VerticalAlignment="Top" Width="78" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD">
953
                <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="39" Margin="10,172,0,0" VerticalAlignment="Top" Width="78" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD">
1017
                    <Button.Background>
954
                    <Button.Background>
1018
                        <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/>
955
                        <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/>
1019
                    </Button.Background>
956
                    </Button.Background>
Line 1026... Line 963...
1026
                    <Button.Background>
963
                    <Button.Background>
1027
                        <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/>
964
                        <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/>
1028
                    </Button.Background>
965
                    </Button.Background>
1029
                </Button>
966
                </Button>
1030
            </Grid>
967
            </Grid>
-
 
968
            <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23">
-
 
969
                <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,233,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
970
                    <Label.RenderTransform>
-
 
971
                        <TransformGroup>
-
 
972
                            <ScaleTransform/>
-
 
973
                            <SkewTransform/>
-
 
974
                            <RotateTransform Angle="90"/>
-
 
975
                            <TranslateTransform/>
-
 
976
                        </TransformGroup>
-
 
977
                    </Label.RenderTransform>
-
 
978
                    <Label.Style>
-
 
979
                        <Style TargetType="{x:Type Label}">
-
 
980
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
981
                            <Style.Triggers>
-
 
982
                                <Trigger Property="IsMouseOver" Value="True">
-
 
983
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
984
                                </Trigger>
-
 
985
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridMotors}" Value="True">
-
 
986
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
987
                                </DataTrigger>
-
 
988
                            </Style.Triggers>
-
 
989
                        </Style>
-
 
990
                    </Label.Style>
-
 
991
                </Label>
-
 
992
                <Label x:Name="labelOSD" Content="OSD" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,158,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelOSD_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
993
                    <Label.RenderTransform>
-
 
994
                        <TransformGroup>
-
 
995
                            <ScaleTransform/>
-
 
996
                            <SkewTransform/>
-
 
997
                            <RotateTransform Angle="90"/>
-
 
998
                            <TranslateTransform/>
-
 
999
                        </TransformGroup>
-
 
1000
                    </Label.RenderTransform>
-
 
1001
                    <Label.Style>
-
 
1002
                        <Style TargetType="{x:Type Label}">
-
 
1003
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
1004
                            <Style.Triggers>
-
 
1005
                                <Trigger Property="IsMouseOver" Value="True">
-
 
1006
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
1007
                                </Trigger>
-
 
1008
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridOSD}" Value="True">
-
 
1009
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
1010
                                </DataTrigger>
-
 
1011
                            </Style.Triggers>
-
 
1012
                        </Style>
-
 
1013
                    </Label.Style>
-
 
1014
                </Label>
-
 
1015
                <TextBox x:Name="tbSideBarStatusMotors" HorizontalAlignment="Right" Height="21" Margin="0,9,1,0" TextWrapping="NoWrap" Text="M" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Motors on/off" FontWeight="Bold">
-
 
1016
                    <TextBox.Resources>
-
 
1017
                        <Style TargetType="{x:Type Border}">
-
 
1018
                            <Setter Property="CornerRadius" Value="30"/>
-
 
1019
                        </Style>
-
 
1020
                    </TextBox.Resources>
-
 
1021
                </TextBox>
-
 
1022
                <TextBox x:Name="tbSideBarStatusPH" HorizontalAlignment="Left" Height="19" Margin="1,32,0,0" Text="PH" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Position Hold / Coming Home" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/>
-
 
1023
                <TextBox x:Name="tbSideBarStatusCF" HorizontalAlignment="Left" Height="19" Margin="1,53,0,0" Text="CF" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Carefree" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/>
-
 
1024
                <TextBox x:Name="tbSideBarStatusAC" HorizontalAlignment="Left" Height="19" Margin="1,74,0,0" Text="AC" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Altitude control" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/>
-
 
1025
                <TextBox x:Name="tbSideBarStatusEmergencyLanding" HorizontalAlignment="Left" Height="21" Margin="1,95,0,0" TextWrapping="NoWrap" Text="H" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Emergency landing" FontWeight="Bold">
-
 
1026
                    <TextBox.Resources>
-
 
1027
                        <Style TargetType="{x:Type Border}">
-
 
1028
                            <Setter Property="CornerRadius" Value="30"/>
-
 
1029
                        </Style>
-
 
1030
                    </TextBox.Resources>
-
 
1031
                </TextBox>
-
 
1032
            </Grid>
1031
            <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>-->
1033
            <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>-->
1032
        </Grid>
1034
        </Grid>
1033
        <Label x:Name="labelSwitchToNavi" Content="The communication is set to FlightControl&#xD;&#xA;The necessary data can ONLY be accessed &#xD;&#xA;by the NaviControl!&#xD;&#xA;Please switch to NaviControl in the settings tab" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Style="{StaticResource HideSwitchNCLabel}" Tag="{Binding ElementName=tbCtrl}" >
1035
        <Label x:Name="labelSwitchToNavi" Content="The communication is set to FlightControl&#xD;&#xA;The necessary data can ONLY be accessed &#xD;&#xA;by the NaviControl!&#xD;&#xA;Please switch to NaviControl in the settings tab" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Style="{StaticResource HideSwitchNCLabel}" Tag="{Binding ElementName=tbCtrl}" >
1034
            <Label.Background>
1036
            <Label.Background>
1035
                <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
1037
                <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">