Subversion Repositories Projects

Rev

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

Rev 2295 Rev 2298
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,178,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" >
-
 
493
                    <Label.RenderTransform>
-
 
494
                        <TransformGroup>
-
 
495
                            <ScaleTransform/>
-
 
496
                            <SkewTransform/>
-
 
497
                            <RotateTransform Angle="-90"/>
-
 
498
                            <TranslateTransform/>
-
 
499
                        </TransformGroup>
-
 
500
                    </Label.RenderTransform>
-
 
501
                    <Label.Style>
-
 
502
                        <Style TargetType="{x:Type Label}">
-
 
503
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
504
                            <Style.Triggers>
-
 
505
                                <Trigger Property="IsMouseOver" Value="True">
-
 
506
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
507
                                </Trigger>
-
 
508
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridData}" Value="True">
-
 
509
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
510
                                </DataTrigger>
-
 
511
                            </Style.Triggers>
-
 
512
                        </Style>
-
 
513
                    </Label.Style>
-
 
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,253,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelSettings_MouseDown" FontSize="14">
-
 
516
                    <Label.RenderTransform>
-
 
517
                        <TransformGroup>
-
 
518
                            <ScaleTransform/>
-
 
519
                            <SkewTransform/>
-
 
520
                            <RotateTransform Angle="-90"/>
-
 
521
                            <TranslateTransform/>
-
 
522
                        </TransformGroup>
-
 
523
                    </Label.RenderTransform>
-
 
524
                    <Label.Style>
-
 
525
                        <Style TargetType="{x:Type Label}">
-
 
526
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
527
                            <Style.Triggers>
-
 
528
                                <Trigger Property="IsMouseOver" Value="True">
-
 
529
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
530
                                </Trigger>
-
 
531
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridSettings}" Value="True">
-
 
532
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
533
                                </DataTrigger>
-
 
534
                            </Style.Triggers>
-
 
535
                        </Style>
-
 
536
                    </Label.Style>
-
 
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">
-
 
539
                    <Label.RenderTransform>
-
 
540
                        <TransformGroup>
-
 
541
                            <ScaleTransform/>
-
 
542
                            <SkewTransform/>
-
 
543
                            <RotateTransform Angle="-90"/>
-
 
544
                            <TranslateTransform/>
-
 
545
                        </TransformGroup>
-
 
546
                    </Label.RenderTransform>
-
 
547
                    <Label.Style>
-
 
548
                        <Style TargetType="{x:Type Label}">
-
 
549
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
550
                            <Style.Triggers>
-
 
551
                                <Trigger Property="IsMouseOver" Value="True">
-
 
552
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
553
                                </Trigger>
-
 
554
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridLog}" Value="True">
-
 
555
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
556
                                </DataTrigger>
-
 
557
                            </Style.Triggers>
-
 
558
                        </Style>
-
 
559
                    </Label.Style>
-
 
560
                </Label>
-
 
561
                <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,103,-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,28,-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,328,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelWaypoints_MouseDown" FontSize="14">
-
 
608
                    <Label.RenderTransform>
-
 
609
                        <TransformGroup>
-
 
610
                            <ScaleTransform/>
-
 
611
                            <SkewTransform/>
-
 
612
                            <RotateTransform Angle="-90"/>
-
 
613
                            <TranslateTransform/>
-
 
614
                        </TransformGroup>
-
 
615
                    </Label.RenderTransform>
-
 
616
                    <Label.Style>
-
 
617
                        <Style TargetType="{x:Type Label}">
-
 
618
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
619
                            <Style.Triggers>
-
 
620
                                <Trigger Property="IsMouseOver" Value="True">
-
 
621
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
622
                                </Trigger>
-
 
623
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridWP}" Value="True">
-
 
624
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
625
                                </DataTrigger>
-
 
626
                            </Style.Triggers>
-
 
627
                        </Style>
-
 
628
                    </Label.Style>
-
 
629
                </Label>
492
            </Grid>
630
            </Grid>
493
            <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,215,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" >
631
            <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" Visibility="Collapsed" >
494
                <Label.RenderTransform>
632
                <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="204" Background="{x:Null}">
495
                    <TransformGroup>
-
 
496
                        <ScaleTransform/>
633
                    <TabItem Header="Analog">
497
                        <SkewTransform/>
634
                        <Grid>
498
                        <RotateTransform Angle="-90"/>
635
                            <TextBlock x:Name="tbVolt" HorizontalAlignment="Left" Height="23" Margin="110,42,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
499
                        <TranslateTransform/>
-
 
500
                    </TransformGroup>
-
 
501
                </Label.RenderTransform>
-
 
502
                <Label.Style>
-
 
503
                    <Style TargetType="{x:Type Label}">
636
                            <TextBlock x:Name="tbCur" HorizontalAlignment="Left" Height="23" Margin="110,63,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
504
                        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
637
                            <Label x:Name="label6_Copy" Content="Controller:" HorizontalAlignment="Left" Margin="8,6,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
505
                        <Style.Triggers>
638
                            <TextBox x:Name="tbCtrl" HorizontalAlignment="Left" Height="21" Margin="111,9,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="27" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" FontSize="16"/>
506
                            <Trigger Property="IsMouseOver" Value="True">
639
                            <Label x:Name="label6_Copy3" Content="Voltage" HorizontalAlignment="Left" Margin="13,38,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
507
                                <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
640
                            <Label x:Name="label6_Copy4" Content="Current" HorizontalAlignment="Left" Margin="13,59,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
508
                            </Trigger>
-
 
509
                            <DataTrigger Binding="{Binding IsVisible, ElementName=GridData}" Value="True">
641
                            <TextBlock x:Name="tbCapacity" HorizontalAlignment="Left" Height="23" Margin="110,84,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
510
                                <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
642
                            <Label x:Name="label6_Copy5" Content="Capacity" HorizontalAlignment="Left" Margin="13,80,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
511
                            </DataTrigger>
-
 
512
                        </Style.Triggers>
-
 
513
                    </Style>
-
 
514
                </Label.Style>
-
 
515
            </Label>
-
 
516
            <Label x:Name="labelSettings" Content="Settings" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,290,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelSettings_MouseDown" FontSize="14">
643
                            <TextBlock x:Name="tbFTime" HorizontalAlignment="Left" Height="23" Margin="110,108,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
517
                <Label.RenderTransform>
-
 
518
                    <TransformGroup>
-
 
519
                        <ScaleTransform/>
-
 
520
                        <SkewTransform/>
-
 
521
                        <RotateTransform Angle="-90"/>
644
                            <TextBlock x:Name="tbRCQ" HorizontalAlignment="Left" Height="23" Margin="110,129,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
522
                        <TranslateTransform/>
-
 
523
                    </TransformGroup>
-
 
524
                </Label.RenderTransform>
-
 
525
                <Label.Style>
-
 
526
                    <Style TargetType="{x:Type Label}">
645
                            <Label x:Name="label6_Copy6" Content="Flying time" HorizontalAlignment="Left" Margin="13,104,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
527
                        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
646
                            <Label x:Name="label6_Copy7" Content="RC quality" HorizontalAlignment="Left" Margin="13,125,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
528
                        <Style.Triggers>
-
 
529
                            <Trigger Property="IsMouseOver" Value="True">
647
                            <TextBlock x:Name="tbMagF" HorizontalAlignment="Left" Height="23" Margin="110,153,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
530
                                <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
648
                            <Label x:Name="label6_Copy8" Content="Mag. field" HorizontalAlignment="Left" Margin="13,149,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
531
                            </Trigger>
-
 
532
                            <DataTrigger Binding="{Binding IsVisible, ElementName=GridSettings}" Value="True">
649
                            <TextBlock x:Name="tbSats" HorizontalAlignment="Left" Height="23" Margin="110,177,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
533
                                <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
650
                            <TextBlock x:Name="tbSpeed" HorizontalAlignment="Left" Height="23" Margin="110,200,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
534
                            </DataTrigger>
-
 
535
                        </Style.Triggers>
-
 
536
                    </Style>
-
 
537
                </Label.Style>
-
 
538
            </Label>
-
 
539
            <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="174" Margin="23,36,0,0" Visibility="Hidden" >
651
                            <Label x:Name="label6_Copy9" Content="Satellites" HorizontalAlignment="Left" Margin="13,173,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
540
                <TextBlock x:Name="tbVolt" HorizontalAlignment="Left" Height="23" Margin="106,26,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
652
                            <Label x:Name="label6_Copy10" Content="Gr. speed" HorizontalAlignment="Left" Margin="13,196,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
541
                <TextBlock x:Name="tbCur" HorizontalAlignment="Left" Height="23" Margin="106,47,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
653
                            <TextBlock x:Name="tbAlt" HorizontalAlignment="Left" Height="23" Margin="110,223,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
542
                <Label x:Name="label6" Content="CRC-Error" Margin="53,0,31,0" VerticalAlignment="Bottom" Background="{x:Null}" Foreground="White"/>
654
                            <Label x:Name="label6_Copy11" Content="Altitude" HorizontalAlignment="Left" Margin="13,219,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
543
                <TextBox x:Name="tbCrc" Height="21" Margin="117,0,2,1" TextWrapping="Wrap" Text="0" VerticalAlignment="Bottom" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}"/>
655
                            <TextBlock x:Name="tbHeading" HorizontalAlignment="Left" Height="23" Margin="110,245,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
544
                <Label x:Name="label6_Copy" Content="Controller:" HorizontalAlignment="Left" Margin="4,-3,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
656
                            <Label x:Name="label6_Copy12" Content="Heading" HorizontalAlignment="Left" Margin="13,241,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
545
                <TextBox x:Name="tbCtrl" HorizontalAlignment="Left" Height="21" Margin="107,0,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="27" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" FontSize="16"/>
657
                            <TextBlock x:Name="tbPitch" HorizontalAlignment="Left" Height="23" Margin="110,268,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
546
                <Label x:Name="label6_Copy1" Content="SPI-Error" Margin="53,0,36,15" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/>
658
                            <Label x:Name="label6_Copy13" Content="Pitch" HorizontalAlignment="Left" Margin="13,264,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
547
                <TextBox x:Name="tbSPI" Margin="117,0,2,16" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/>
659
                            <TextBlock x:Name="tbRoll" HorizontalAlignment="Left" Height="23" Margin="110,292,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
548
                <Label x:Name="label6_Copy2" Content="I2C-Error" Margin="53,0,35,30" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/>
660
                            <Label x:Name="label6_Copy14" Content="Roll" HorizontalAlignment="Left" Margin="13,288,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
549
                <TextBox x:Name="tbI2C" Margin="117,0,2,31" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/>
661
                            <TextBlock x:Name="tbHP" HorizontalAlignment="Left" Height="23" Margin="110,317,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
550
                <Label x:Name="label6_Copy3" Content="Voltage" HorizontalAlignment="Left" Margin="9,22,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
662
                            <Label x:Name="label6_Copy15" Content="Distance HP" HorizontalAlignment="Left" Margin="13,313,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
-
 
663
                            <TextBlock x:Name="tbHP1" HorizontalAlignment="Left" Height="23" Margin="110,339,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
551
                <Label x:Name="label6_Copy4" Content="Current" HorizontalAlignment="Left" Margin="9,43,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
664
                            <Label x:Name="label6_Copy16" Content="(Distance ???)" HorizontalAlignment="Left" Margin="9,335,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
552
                <TextBlock x:Name="tbCapacity" HorizontalAlignment="Left" Height="23" Margin="106,68,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
665
                            <TextBlock x:Name="tbWP" HorizontalAlignment="Left" Height="23" Margin="110,360,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
553
                <Label x:Name="label6_Copy5" Content="Capacity" HorizontalAlignment="Left" Margin="9,64,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
666
                            <Label x:Name="label6_Copy17" Content="Distance WP" HorizontalAlignment="Left" Margin="13,356,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
554
                <TextBlock x:Name="tbFTime" HorizontalAlignment="Left" Height="23" Margin="106,92,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
667
                            <TextBlock x:Name="tbWPCount" HorizontalAlignment="Left" Height="23" Margin="110,381,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
-
 
668
                            <Label x:Name="label6_Copy19" Content="WP count" HorizontalAlignment="Left" Margin="13,377,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
555
                <TextBlock x:Name="tbRCQ" HorizontalAlignment="Left" Height="23" Margin="106,113,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
669
                            <TextBlock x:Name="tbWPIndex" HorizontalAlignment="Left" Height="23" Margin="110,401,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
556
                <Label x:Name="label6_Copy6" Content="Flying time" HorizontalAlignment="Left" Margin="9,88,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
670
                            <Label x:Name="label6_Copy20" Content="WP-Index" HorizontalAlignment="Left" Margin="13,397,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
557
                <Label x:Name="label6_Copy7" Content="RC quality" HorizontalAlignment="Left" Margin="9,109,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
671
                            <Label x:Name="label6" Content="CRC-Error" Margin="14,0,64,10.04" VerticalAlignment="Bottom" Background="{x:Null}" Foreground="White"/>
558
                <TextBlock x:Name="tbMagF" HorizontalAlignment="Left" Height="23" Margin="106,150,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
672
                            <TextBox x:Name="tbCrc" Height="21" Margin="78,0,35,11.04" TextWrapping="Wrap" Text="0" VerticalAlignment="Bottom" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}"/>
559
                <Label x:Name="label6_Copy8" Content="Mag. field" HorizontalAlignment="Left" Margin="9,146,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
673
                            <Label x:Name="label6_Copy1" Content="SPI-Error" Margin="14,0,69,25.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/>
560
                <TextBlock x:Name="tbSats" HorizontalAlignment="Left" Height="23" Margin="106,172,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
674
                            <TextBox x:Name="tbSPI" Margin="78,0,35,26.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/>
-
 
675
                            <Label x:Name="label6_Copy2" Content="I2C-Error" Margin="14,0,68,40.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/>
561
                <TextBlock x:Name="tbSpeed" HorizontalAlignment="Left" Height="23" Margin="106,193,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
676
                            <TextBox x:Name="tbI2C" Margin="78,0,35,41.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/>
-
 
677
                            <Label x:Name="label6_Copy18" Content="NC-Error" Margin="14,0,68,56.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/>
562
                <Label x:Name="label6_Copy9" Content="Satellites" HorizontalAlignment="Left" Margin="9,168,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
678
                            <TextBox x:Name="tbNCErr" Margin="78,0,35,57.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/>
-
 
679
 
-
 
680
                        </Grid>
-
 
681
                    </TabItem>
-
 
682
                    <TabItem Header="Status">
-
 
683
                        <Grid Margin="0">
563
                <Label x:Name="label6_Copy10" Content="Gr. speed" HorizontalAlignment="Left" Margin="9,189,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
684
                            <Label x:Name="FC1_1" Content="Motors on" HorizontalAlignment="Left" Margin="10,12,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
564
                <TextBlock x:Name="tbAlt" HorizontalAlignment="Left" Height="23" Margin="106,214,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
685
                            <Label x:Name="FC1_2" Content="Airborne" HorizontalAlignment="Left" Margin="10,35,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
565
                <Label x:Name="label6_Copy11" Content="Altitude" HorizontalAlignment="Left" Margin="9,210,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
686
                            <Label x:Name="FC1_3" Content="Calibrate" HorizontalAlignment="Left" Margin="10,58,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
566
                <TextBlock x:Name="tbHeading" HorizontalAlignment="Left" Height="23" Margin="106,234,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
687
                            <Label x:Name="FC1_4" Content="Start" HorizontalAlignment="Left" Margin="10,81,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
567
                <Label x:Name="label6_Copy12" Content="Heading" HorizontalAlignment="Left" Margin="9,230,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
688
                            <Label x:Name="FC1_5" Content="Emergency landing" HorizontalAlignment="Left" Margin="10,104,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
568
                <TextBlock x:Name="tbPitch" HorizontalAlignment="Left" Height="23" Margin="106,255,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
689
                            <Label x:Name="FC1_6" Content="Low battery" HorizontalAlignment="Left" Margin="10,127,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
569
                <Label x:Name="label6_Copy13" Content="Pitch" HorizontalAlignment="Left" Margin="9,251,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
690
                            <Label x:Name="FC2_1" Content="Carefree" HorizontalAlignment="Left" Margin="10,150,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
570
                <TextBlock x:Name="tbRoll" HorizontalAlignment="Left" Height="23" Margin="106,277,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
691
                            <Label x:Name="FC2_2" Content="Altitude control" HorizontalAlignment="Left" Margin="10,173,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
571
                <Label x:Name="label6_Copy14" Content="Roll" HorizontalAlignment="Left" Margin="9,273,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
692
                            <Label x:Name="FC2_3" Content="RC failsave" HorizontalAlignment="Left" Margin="10,196,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
572
                <TextBlock x:Name="tbHP" HorizontalAlignment="Left" Height="23" Margin="106,299,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
693
                            <Label x:Name="FC2_4" Content="Out 1" HorizontalAlignment="Left" Margin="10,219,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
573
                <Label x:Name="label6_Copy15" Content="Distance HP" HorizontalAlignment="Left" Margin="9,295,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
694
                            <Label x:Name="FC2_5" Content="Out 2" HorizontalAlignment="Left" Margin="10,242,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
574
                <TextBlock x:Name="tbHP1" HorizontalAlignment="Left" Height="23" Margin="106,319,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
695
                            <Label x:Name="FC2_7" Content="Autostart" HorizontalAlignment="Left" Margin="10,288,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
575
                <Label x:Name="label6_Copy16" Content="(Distance ???)" HorizontalAlignment="Left" Margin="5,315,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
696
                            <Label x:Name="FC2_8" Content="Autoland" HorizontalAlignment="Left" Margin="10,311,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
576
                <TextBlock x:Name="tbWP" HorizontalAlignment="Left" Height="23" Margin="106,338,-11,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
697
                            <Label x:Name="NC1_2" Content="Position hold" HorizontalAlignment="Left" Margin="10,334,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
577
                <Label x:Name="label6_Copy17" Content="Distance WP" HorizontalAlignment="Left" Margin="9,334,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
698
                            <Label x:Name="NC1_3" Content="Coming home" HorizontalAlignment="Left" Margin="10,357,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
578
                <Label x:Name="label6_Copy18" Content="NC-Error" Margin="53,0,35,46" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/>
699
                            <Label x:Name="NC1_4" Content="Range limit" HorizontalAlignment="Left" Margin="10,380,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
579
                <TextBox x:Name="tbNCErr" Margin="117,0,2,47" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/>
700
                            <Label x:Name="NC1_5" Content="No serial link" HorizontalAlignment="Left" Margin="10,403,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
580
                <TextBlock x:Name="tbWPCount" HorizontalAlignment="Left" Height="23" Margin="106,357,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
701
                            <Label x:Name="NC1_6" Content="Target reached" HorizontalAlignment="Left" Margin="10,426,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
581
                <Label x:Name="label6_Copy19" Content="WP count" HorizontalAlignment="Left" Margin="9,353,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
702
                            <Label x:Name="NC1_7" Content="Manual control" HorizontalAlignment="Left" Margin="10,449,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
582
                <TextBlock x:Name="tbWPIndex" HorizontalAlignment="Left" Height="23" Margin="106,375,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
703
                            <Label x:Name="NC1_8" Content="GPS ok" HorizontalAlignment="Left" Margin="10,472,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5" BorderBrush="White" HorizontalContentAlignment="Center"/>
583
                <Label x:Name="label6_Copy20" Content="WP-Index" HorizontalAlignment="Left" Margin="9,371,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/>
704
                            <Label x:Name="FC2_6" Content="Wait for takeoff" HorizontalAlignment="Left" Margin="10,265,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/>
-
 
705
 
-
 
706
                        </Grid>
-
 
707
                    </TabItem>
-
 
708
                </TabControl>
584
            </Grid>
709
            </Grid>
585
            <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0">
710
            <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0">
586
                <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}">
711
                <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}">
587
                    <TabItem Header="General" Margin="0,0,-0.237,0">
712
                    <TabItem Header="General" Margin="0,0,-0.237,0">
588
                        <Grid x:Name="TabGridGeneral">
713
                        <Grid x:Name="TabGridGeneral">
Line 604... Line 729...
604
                                    <Label x:Name="label_Copy3" Content="LiPo Cells" HorizontalAlignment="Left" Margin="-6,121,0,-29.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63"/>
729
                                    <Label x:Name="label_Copy3" Content="LiPo Cells" HorizontalAlignment="Left" Margin="-6,121,0,-29.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63"/>
605
                                    <ComboBox x:Name="cBoxLiPoCells" HorizontalAlignment="Left" Height="23" Margin="57,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxLiPoCells_DropDownClosed"/>
730
                                    <ComboBox x:Name="cBoxLiPoCells" HorizontalAlignment="Left" Height="23" Margin="57,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxLiPoCells_DropDownClosed"/>
606
                                    <Label x:Name="label_Copy4" Content="Capacity" HorizontalAlignment="Left" Margin="4,150,0,-58.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63" Visibility="Hidden"/>
731
                                    <Label x:Name="label_Copy4" Content="Capacity" HorizontalAlignment="Left" Margin="4,150,0,-58.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63" Visibility="Hidden"/>
607
                                    <Label x:Name="label_Copy5" Content="Motors" HorizontalAlignment="Left" Margin="111,122,0,-30.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="51"/>
732
                                    <Label x:Name="label_Copy5" Content="Motors" HorizontalAlignment="Left" Margin="111,122,0,-30.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="51"/>
608
                                    <ComboBox x:Name="cBoxMotors" HorizontalAlignment="Left" Height="23" Margin="160,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxMotors_DropDownClosed"/>
733
                                    <ComboBox x:Name="cBoxMotors" HorizontalAlignment="Left" Height="23" Margin="160,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxMotors_DropDownClosed"/>
609
 
-
 
610
 
-
 
611
                                </Grid>
734
                                </Grid>
612
                            </GroupBox>
735
                            </GroupBox>
613
                            <Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="36" Margin="11,471,0,0" VerticalAlignment="Top" Width="86" Click="buttonSwitchNC_Click"  Style="{StaticResource HideSwitchNCButton}" Tag="{Binding ElementName=tbCtrl}"/>
-
 
614
                            <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden"/>
736
                            <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden"/>
-
 
737
                            <Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="49" Margin="10,532,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" Style="{StaticResource HideSwitchNCButton}"  Tag="{Binding ElementName=tbCtrl}" FontSize="16"/>
615
                        </Grid>
738
                        </Grid>
616
                    </TabItem>
739
                    </TabItem>
617
                    <TabItem Header="Style" Margin="-0.763,0,-8.193,0">
740
                    <TabItem Header="Style" Margin="-0.763,0,-8.193,0">
618
                        <Grid x:Name="TabGridStyle">
741
                        <Grid x:Name="TabGridStyle">
619
                            <Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/>
742
                            <Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/>
Line 828... Line 951...
828
                    ScaleX="{Binding ElementName=UIScaleHorizonSlider,Path=Value}"
951
                    ScaleX="{Binding ElementName=UIScaleHorizonSlider,Path=Value}"
829
                    ScaleY="{Binding ElementName=UIScaleHorizonSlider,Path=Value}"
952
                    ScaleY="{Binding ElementName=UIScaleHorizonSlider,Path=Value}"
830
                />
953
                />
831
                </ArtificialHorizon:ArtificialHorizon.RenderTransform>
954
                </ArtificialHorizon:ArtificialHorizon.RenderTransform>
832
            </ArtificialHorizon:ArtificialHorizon>
955
            </ArtificialHorizon:ArtificialHorizon>
833
            <Label x:Name="labelLog" Content="LOG" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,0,0,29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelLog_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Bottom">
-
 
834
                <Label.RenderTransform>
-
 
835
                    <TransformGroup>
-
 
836
                        <ScaleTransform/>
-
 
837
                        <SkewTransform/>
-
 
838
                        <RotateTransform Angle="-90"/>
-
 
839
                        <TranslateTransform/>
-
 
840
                    </TransformGroup>
-
 
841
                </Label.RenderTransform>
-
 
842
                <Label.Style>
-
 
843
                    <Style TargetType="{x:Type Label}">
-
 
844
                        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
845
                        <Style.Triggers>
-
 
846
                            <Trigger Property="IsMouseOver" Value="True">
-
 
847
                                <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
848
                            </Trigger>
-
 
849
                            <DataTrigger Binding="{Binding IsVisible, ElementName=GridLog}" Value="True">
-
 
850
                                <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
851
                            </DataTrigger>
-
 
852
                        </Style.Triggers>
-
 
853
                    </Style>
-
 
854
                </Label.Style>
-
 
855
            </Label>
-
 
856
            <Grid x:Name="GridLog" Margin="257,0,0,0" Background="#66000000" Height="66" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="510">
956
            <Grid x:Name="GridLog" Margin="257,0,0,0" Background="#66000000" Height="66" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="510">
857
                <Grid.LayoutTransform>
957
                <Grid.LayoutTransform>
858
                    <ScaleTransform
958
                    <ScaleTransform
859
                    CenterX="0"
959
                    CenterX="0"
860
                    CenterY="0"
960
                    CenterY="0"
Line 875... Line 975...
875
                />
975
                />
876
                </Grid.LayoutTransform>
976
                </Grid.LayoutTransform>
877
                <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}"/>
977
                <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}"/>
878
                <!--<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"/>-->
978
                <!--<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"/>-->
879
            </Grid>
979
            </Grid>
880
            <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,140,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
881
                <Label.RenderTransform>
-
 
882
                    <TransformGroup>
-
 
883
                        <ScaleTransform/>
-
 
884
                        <SkewTransform/>
-
 
885
                        <RotateTransform Angle="-90"/>
-
 
886
                        <TranslateTransform/>
-
 
887
                    </TransformGroup>
-
 
888
                </Label.RenderTransform>
-
 
889
                <Label.Style>
-
 
890
                    <Style TargetType="{x:Type Label}">
-
 
891
                        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
892
                        <Style.Triggers>
-
 
893
                            <Trigger Property="IsMouseOver" Value="True">
-
 
894
                                <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
895
                            </Trigger>
-
 
896
                            <DataTrigger Binding="{Binding IsVisible, ElementName=GridMotors}" Value="True">
-
 
897
                                <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
898
                            </DataTrigger>
-
 
899
                        </Style.Triggers>
-
 
900
                    </Style>
-
 
901
                </Label.Style>
-
 
902
            </Label>
-
 
903
            <Grid x:Name="GridOSD" Margin="0,36,136,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden">
980
            <Grid x:Name="GridOSD" Margin="0,36,136,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden">
904
                <Grid.LayoutTransform>
981
                <Grid.LayoutTransform>
905
                    <ScaleTransform
982
                    <ScaleTransform
906
                    CenterX="0"
983
                    CenterX="0"
907
                    CenterY="0"
984
                    CenterY="0"
Line 915... Line 992...
915
                <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/>
992
                <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/>
916
                <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/>
993
                <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/>
917
                <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/>
994
                <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/>
918
                <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/>
995
                <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/>
919
            </Grid>
996
            </Grid>
920
            <Label x:Name="labelOSD" Content="OSD" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,65,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelOSD_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
921
                <Label.RenderTransform>
-
 
922
                    <TransformGroup>
-
 
923
                        <ScaleTransform/>
-
 
924
                        <SkewTransform/>
-
 
925
                        <RotateTransform Angle="-90"/>
-
 
926
                        <TranslateTransform/>
-
 
927
                    </TransformGroup>
-
 
928
                </Label.RenderTransform>
-
 
929
                <Label.Style>
-
 
930
                    <Style TargetType="{x:Type Label}">
-
 
931
                        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
932
                        <Style.Triggers>
-
 
933
                            <Trigger Property="IsMouseOver" Value="True">
-
 
934
                                <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
935
                            </Trigger>
-
 
936
                            <DataTrigger Binding="{Binding IsVisible, ElementName=GridOSD}" Value="True">
-
 
937
                                <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
938
                            </DataTrigger>
-
 
939
                        </Style.Triggers>
-
 
940
                    </Style>
-
 
941
                </Label.Style>
-
 
942
            </Label>
-
 
943
            <Grid x:Name="GridWP" Margin="23,36,0,0" Background="#7F000000" Height="275" VerticalAlignment="Top" Visibility="Collapsed">
997
            <Grid x:Name="GridWP" Margin="23,36,0,0" Background="#7F000000" Height="275" VerticalAlignment="Top" Visibility="Collapsed">
944
                <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"/>
998
                <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"/>
945
                <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">
999
                <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">
946
                    <Button.Background>
1000
                    <Button.Background>
947
                        <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/>
1001
                        <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/>
Line 955... Line 1009...
955
                    <Button.Background>
1009
                    <Button.Background>
956
                        <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/>
1010
                        <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/>
957
                    </Button.Background>
1011
                    </Button.Background>
958
                </Button>
1012
                </Button>
959
            </Grid>
1013
            </Grid>
960
            <Label x:Name="labelWaypoints" Content="Waypoints" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,365,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" MouseDown="labelWaypoints_MouseDown" FontSize="14">
-
 
961
                <Label.RenderTransform>
-
 
962
                    <TransformGroup>
-
 
963
                        <ScaleTransform/>
-
 
964
                        <SkewTransform/>
-
 
965
                        <RotateTransform Angle="-90"/>
-
 
966
                        <TranslateTransform/>
-
 
967
                    </TransformGroup>
-
 
968
                </Label.RenderTransform>
-
 
969
                <Label.Style>
-
 
970
                    <Style TargetType="{x:Type Label}">
-
 
971
                        <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
-
 
972
                        <Style.Triggers>
-
 
973
                            <Trigger Property="IsMouseOver" Value="True">
-
 
974
                                <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/>
-
 
975
                            </Trigger>
-
 
976
                            <DataTrigger Binding="{Binding IsVisible, ElementName=GridWP}" Value="True">
-
 
977
                                <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/>
-
 
978
                            </DataTrigger>
-
 
979
                        </Style.Triggers>
-
 
980
                    </Style>
-
 
981
                </Label.Style>
-
 
982
            </Label>
-
 
983
            <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>-->
1014
            <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>-->
984
        </Grid>
1015
        </Grid>
985
        <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}" >
1016
        <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}" >
986
            <Label.Background>
1017
            <Label.Background>
987
                <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
1018
                <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">