Subversion Repositories Projects

Rev

Rev 2544 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2544 Rev 2554
Line 1... Line 1...
1
<?xml version="1.0" encoding="utf-8"?>
1
<?xml version="1.0" encoding="utf-8"?>
2
<Window xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:MKLiveView" xmlns:WindowsPresentation="clr-namespace:GMap.NET.WindowsPresentation;assembly=GMap.NET.WindowsPresentation" xmlns:ArtificialHorizon="clr-namespace:MKLiveView.ArtificialHorizon" xmlns:wpConverter="clr-namespace:MKLiveView" xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" x:Class="MKLiveView.MainWindow" mc:Ignorable="d" Title="MK LiveView 1.0" Height="686" Width="1017" Icon="MK.ico" DataContext="{Binding RelativeSource={RelativeSource Self}}" Loaded="Window_Loaded" Closing="Window_Closing" Closed="Window_Closed">
2
<Window xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:MKLiveView" xmlns:WindowsPresentation="clr-namespace:GMap.NET.WindowsPresentation;assembly=GMap.NET.WindowsPresentation" xmlns:ArtificialHorizon="clr-namespace:MKLiveView.ArtificialHorizon" xmlns:wpConverter="clr-namespace:MKLiveView" xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" x:Class="MKLiveView.MainWindow" mc:Ignorable="d" Title="MK LiveView 1.0" Height="686" Width="1017" Icon="MK.ico" DataContext="{Binding RelativeSource={RelativeSource Self}}" Loaded="Window_Loaded" Closing="Window_Closing" Closed="Window_Closed">
3
    <Window.Resources>
3
  <Window.Resources>
4
        <wpConverter:waypointsConverter x:Key="wpConvert" />
4
    <wpConverter:waypointsConverter x:Key="wpConvert" />
5
        <BooleanToVisibilityConverter x:Key="BooleanToVisibility" />
5
    <BooleanToVisibilityConverter x:Key="BooleanToVisibility" />
6
        <LinearGradientBrush x:Key="ActiveItemBrush" EndPoint="0,1" StartPoint="0,0">
6
    <LinearGradientBrush x:Key="ActiveItemBrush" EndPoint="0,1" StartPoint="0,0">
7
            <GradientStop Color="#FFC6F5FF" />
7
      <GradientStop Color="#FFC6F5FF" />
8
            <GradientStop Color="#FFB6E8FF" Offset="0.18" />
8
      <GradientStop Color="#FFB6E8FF" Offset="0.18" />
9
            <GradientStop Color="#FF98CBF5" Offset="0.389" />
9
      <GradientStop Color="#FF98CBF5" Offset="0.389" />
10
            <GradientStop Color="#FF9FD3FF" Offset="1" />
10
      <GradientStop Color="#FF9FD3FF" Offset="1" />
11
        </LinearGradientBrush>
11
    </LinearGradientBrush>
12
        <LinearGradientBrush x:Key="PressedItemBrush" EndPoint="0,1" StartPoint="0,0">
12
    <LinearGradientBrush x:Key="PressedItemBrush" EndPoint="0,1" StartPoint="0,0">
13
            <GradientStop Color="#FFFFEAC6" />
13
      <GradientStop Color="#FFFFEAC6" />
14
            <GradientStop Color="#FFFFD99B" Offset="0.18" />
14
      <GradientStop Color="#FFFFD99B" Offset="0.18" />
15
            <GradientStop Color="#FFFFD07F" Offset="0.39" />
15
      <GradientStop Color="#FFFFD07F" Offset="0.39" />
16
            <GradientStop Color="#FFFFC961" Offset="1" />
16
      <GradientStop Color="#FFFFC961" Offset="1" />
17
        </LinearGradientBrush>
17
    </LinearGradientBrush>
18
        <Style x:Key="ButtonWithoutEffectStyle" TargetType="{x:Type Button}">
18
    <Style x:Key="ButtonWithoutEffectStyle" TargetType="{x:Type Button}">
19
            <Setter Property="Background" Value="Transparent" />
19
      <Setter Property="Background" Value="Transparent" />
20
            <Setter Property="Template">
20
      <Setter Property="Template">
21
                <Setter.Value>
21
        <Setter.Value>
22
                    <ControlTemplate TargetType="{x:Type Button}">
22
          <ControlTemplate TargetType="{x:Type Button}">
23
                        <Grid Background="{TemplateBinding Background}">
23
            <Grid Background="{TemplateBinding Background}">
24
                            <ContentPresenter />
-
 
25
                            <Border x:Name="border" BorderThickness="0" Padding="4,2" BorderBrush="#FFE4E4E4" CornerRadius="0" Background="{TemplateBinding Background}">
-
 
26
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
-
 
27
                            </Border>
-
 
28
                        </Grid>
-
 
29
                    </ControlTemplate>
-
 
30
                </Setter.Value>
-
 
31
            </Setter>
-
 
32
        </Style>
-
 
33
        <Style TargetType="{x:Type DataGridColumnHeader}">
-
 
34
            <Setter Property="Background" Value="Transparent" />
-
 
35
            <Setter Property="Foreground" Value="#FFFFFFFF" />
-
 
36
        </Style>
-
 
37
        <Style TargetType="{x:Type DataGridCell}">
-
 
38
            <Setter Property="Background" Value="Transparent" />
-
 
39
            <Setter Property="Foreground" Value="#FFFFFFFF" />
-
 
40
        </Style>
-
 
41
        <Style TargetType="{x:Type DataGridRow}">
-
 
42
            <Setter Property="Background" Value="Transparent" />
-
 
43
            <Setter Property="Foreground" Value="#FFFFFFFF" />
-
 
44
        </Style>
-
 
45
        <Style TargetType="{x:Type DataGridRowHeader}">
-
 
46
            <Setter Property="Background" Value="Transparent" />
-
 
47
        </Style>
-
 
48
        <Style x:Key="CanvasVisibility" TargetType="{x:Type Canvas}">
-
 
49
            <Style.Triggers>
-
 
50
                <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False">
-
 
51
                    <Setter Property="Visibility" Value="Collapsed" />
-
 
52
                </DataTrigger>
-
 
53
            </Style.Triggers>
-
 
54
        </Style>
-
 
55
        <Style x:Key="GridVisibility" TargetType="{x:Type Grid}">
-
 
56
            <Style.Triggers>
-
 
57
                <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False">
-
 
58
                    <Setter Property="Visibility" Value="Collapsed" />
-
 
59
                </DataTrigger>
-
 
60
            </Style.Triggers>
-
 
61
        </Style>
-
 
62
        <SolidColorBrush x:Key="SliderThumb.Static.Foreground" Color="#FFE5E5E5" />
-
 
63
        <SolidColorBrush x:Key="SliderThumb.MouseOver.Background" Color="#FFDCECFC" />
-
 
64
        <SolidColorBrush x:Key="SliderThumb.MouseOver.Border" Color="#FF7Eb4EA" />
-
 
65
        <SolidColorBrush x:Key="SliderThumb.Pressed.Background" Color="#FFDAECFC" />
-
 
66
        <SolidColorBrush x:Key="SliderThumb.Pressed.Border" Color="#FF569DE5" />
-
 
67
        <SolidColorBrush x:Key="SliderThumb.Disabled.Background" Color="#FFF0F0F0" />
-
 
68
        <SolidColorBrush x:Key="SliderThumb.Disabled.Border" Color="#FFD9D9D9" />
-
 
69
        <SolidColorBrush x:Key="SliderThumb.Static.Background" Color="#FFF0F0F0" />
-
 
70
        <SolidColorBrush x:Key="SliderThumb.Static.Border" Color="#FFACACAC" />
-
 
71
        <ControlTemplate x:Key="SliderThumbHorizontalTop" TargetType="{x:Type Thumb}">
-
 
72
            <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center">
-
 
73
                <Path x:Name="grip" Data="M 0,6 C0,6 5.5,0 5.5,0 5.5,0 11,6 11,6 11,6 11,18 11,18 11,18 0,18 0,18 0,18 0,6 0,6 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center" />
-
 
74
            </Grid>
-
 
75
            <ControlTemplate.Triggers>
-
 
76
                <Trigger Property="IsMouseOver" Value="true">
-
 
77
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}" />
-
 
78
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}" />
-
 
79
                </Trigger>
-
 
80
                <Trigger Property="IsDragging" Value="true">
-
 
81
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}" />
-
 
82
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}" />
-
 
83
                </Trigger>
-
 
84
                <Trigger Property="IsEnabled" Value="false">
-
 
85
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}" />
-
 
86
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}" />
-
 
87
                </Trigger>
-
 
88
            </ControlTemplate.Triggers>
-
 
89
        </ControlTemplate>
-
 
90
        <ControlTemplate x:Key="SliderThumbHorizontalBottom" TargetType="{x:Type Thumb}">
-
 
91
            <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center">
-
 
92
                <Path x:Name="grip" Data="M 0,12 C0,12 5.5,18 5.5,18 5.5,18 11,12 11,12 11,12 11,0 11,0 11,0 0,0 0,0 0,0 0,12 0,12 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center" />
24
              <ContentPresenter />
93
            </Grid>
-
 
94
            <ControlTemplate.Triggers>
-
 
95
                <Trigger Property="IsMouseOver" Value="true">
-
 
96
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}" />
-
 
97
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}" />
-
 
98
                </Trigger>
-
 
99
                <Trigger Property="IsDragging" Value="true">
-
 
100
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}" />
-
 
101
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}" />
-
 
102
                </Trigger>
-
 
103
                <Trigger Property="IsEnabled" Value="false">
-
 
104
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}" />
-
 
105
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}" />
-
 
106
                </Trigger>
-
 
107
            </ControlTemplate.Triggers>
-
 
108
        </ControlTemplate>
-
 
109
        <SolidColorBrush x:Key="SliderThumb.Track.Border" Color="#FFD6D6D6" />
-
 
110
        <SolidColorBrush x:Key="SliderThumb.Track.Background" Color="#FFE7EAEA" />
-
 
111
        <Style x:Key="RepeatButtonTransparent" TargetType="{x:Type RepeatButton}">
-
 
112
            <Setter Property="OverridesDefaultStyle" Value="true" />
-
 
113
            <Setter Property="Background" Value="Transparent" />
-
 
114
            <Setter Property="Focusable" Value="false" />
-
 
115
            <Setter Property="IsTabStop" Value="false" />
-
 
116
            <Setter Property="Template">
-
 
117
                <Setter.Value>
-
 
118
                    <ControlTemplate TargetType="{x:Type RepeatButton}">
-
 
119
                        <Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}" />
-
 
120
                    </ControlTemplate>
-
 
121
                </Setter.Value>
-
 
122
            </Setter>
-
 
123
        </Style>
-
 
124
        <ControlTemplate x:Key="SliderThumbHorizontalDefault" TargetType="{x:Type Thumb}">
-
 
125
            <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center">
-
 
126
                <!--<Path x:Name="grip" Data="M 0,0 C0,0 11,0 11,0 11,0 11,18 11,18 11,18 0,18 0,18 0,18 0,0 0,0 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center"/>-->
25
              <Border x:Name="border" BorderThickness="0" Padding="4,2" BorderBrush="#FFE4E4E4" CornerRadius="0" Background="{TemplateBinding Background}">
127
                <Ellipse x:Name="grip" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center" Width="Auto" Height="30" Margin="-15,-5" />
26
                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
128
            </Grid>
-
 
129
            <ControlTemplate.Triggers>
-
 
130
                <Trigger Property="IsMouseOver" Value="true">
-
 
131
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}" />
-
 
132
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}" />
-
 
133
                </Trigger>
-
 
134
                <Trigger Property="IsDragging" Value="true">
-
 
135
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}" />
-
 
136
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}" />
-
 
137
                </Trigger>
-
 
138
                <Trigger Property="IsEnabled" Value="false">
-
 
139
                    <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}" />
-
 
140
                    <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}" />
-
 
141
                </Trigger>
-
 
142
            </ControlTemplate.Triggers>
-
 
143
        </ControlTemplate>
-
 
144
        <ControlTemplate x:Key="SliderHorizontal" TargetType="{x:Type Slider}">
-
 
145
            <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True">
-
 
146
                <Grid Margin="0,-3,0,3">
-
 
147
                    <Grid.RowDefinitions>
-
 
148
                        <RowDefinition Height="Auto" />
-
 
149
                        <RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}" />
-
 
150
                        <RowDefinition Height="Auto" />
-
 
151
                    </Grid.RowDefinitions>
-
 
152
                    <TickBar x:Name="TopTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,0,0,2" Placement="Top" Grid.Row="0" Visibility="Collapsed" />
-
 
153
                    <TickBar x:Name="BottomTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,2,0,0" Placement="Bottom" Grid.Row="2" Visibility="Collapsed" />
-
 
154
                    <Border x:Name="TrackBackground" BorderBrush="{StaticResource SliderThumb.Track.Border}" BorderThickness="1" Background="{StaticResource SliderThumb.Track.Background}" Height="4.0" Margin="5,0" Grid.Row="1" VerticalAlignment="center">
-
 
155
                        <Canvas Margin="-6,-1">
-
 
156
                            <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Visibility="Hidden" />
-
 
157
                        </Canvas>
-
 
158
                    </Border>
-
 
159
                    <Track x:Name="PART_Track" Grid.Row="1">
-
 
160
                        <Track.DecreaseRepeatButton>
-
 
161
                            <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="0,-3,0.13,3" />
-
 
162
                        </Track.DecreaseRepeatButton>
-
 
163
                        <Track.IncreaseRepeatButton>
-
 
164
                            <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="-0.13,-3,0,3" />
-
 
165
                        </Track.IncreaseRepeatButton>
-
 
166
                        <Track.Thumb>
-
 
167
                            <Thumb x:Name="Thumb" Focusable="False" Height="28" OverridesDefaultStyle="True" Template="{StaticResource SliderThumbHorizontalDefault}" VerticalAlignment="Center" Width="21" Margin="-0.13,0,0.13,0" />
-
 
168
                        </Track.Thumb>
-
 
169
                    </Track>
-
 
170
                </Grid>
-
 
171
            </Border>
27
              </Border>
172
            <ControlTemplate.Triggers>
-
 
173
                <Trigger Property="TickPlacement" Value="TopLeft">
-
 
174
                    <Setter Property="Visibility" TargetName="TopTick" Value="Visible" />
-
 
175
                    <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalTop}" />
-
 
176
                    <Setter Property="Margin" TargetName="TrackBackground" Value="5,2,5,0" />
-
 
177
                </Trigger>
-
 
178
                <Trigger Property="TickPlacement" Value="BottomRight">
-
 
179
                    <Setter Property="Visibility" TargetName="BottomTick" Value="Visible" />
-
 
180
                    <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalBottom}" />
-
 
181
                    <Setter Property="Margin" TargetName="TrackBackground" Value="5,0,5,2" />
-
 
182
                </Trigger>
-
 
183
                <Trigger Property="TickPlacement" Value="Both">
-
 
184
                    <Setter Property="Visibility" TargetName="TopTick" Value="Visible" />
-
 
185
                    <Setter Property="Visibility" TargetName="BottomTick" Value="Visible" />
-
 
186
                </Trigger>
-
 
187
                <Trigger Property="IsSelectionRangeEnabled" Value="true">
-
 
188
                    <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible" />
-
 
189
                </Trigger>
-
 
190
                <Trigger Property="IsKeyboardFocused" Value="true">
-
 
191
                    <Setter Property="Foreground" TargetName="Thumb" Value="Blue" />
-
 
192
                </Trigger>
-
 
193
            </ControlTemplate.Triggers>
-
 
194
        </ControlTemplate>
-
 
195
        <ControlTemplate x:Key="SliderThumbVerticalLeft" TargetType="{x:Type Thumb}">
-
 
196
            <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center">
-
 
197
                <Path x:Name="grip" Data="M 6,11 C6,11 0,5.5 0,5.5 0,5.5 6,0 6,0 6,0 18,0 18,0 18,0 18,11 18,11 18,11 6,11 6,11 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" Stroke="{StaticResource SliderThumb.Static.Border}" />
-
 
198
            </Grid>
28
            </Grid>
294
                </Trigger>
510
                </Trigger>
-
 
511
                <DataTrigger Binding="{Binding IsVisible, ElementName=GridData}" Value="True">
-
 
512
                  <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
513
                </DataTrigger>
-
 
514
              </Style.Triggers>
-
 
515
            </Style>
-
 
516
          </Label.Style>
-
 
517
        </Label>
295
                <Trigger Property="IsSelectionRangeEnabled" Value="true">
518
        <Label x:Name="labelSettings" Content="{DynamicResource Settings}" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="94" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-36,145,-35,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelSettings_MouseDown" FontSize="14">
-
 
519
          <Label.RenderTransform>
-
 
520
            <TransformGroup>
-
 
521
              <ScaleTransform />
-
 
522
              <SkewTransform />
-
 
523
              <RotateTransform Angle="-90" />
-
 
524
              <TranslateTransform />
-
 
525
            </TransformGroup>
-
 
526
          </Label.RenderTransform>
-
 
527
          <Label.Style>
-
 
528
            <Style TargetType="{x:Type Label}">
-
 
529
              <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
530
              <Style.Triggers>
-
 
531
                <Trigger Property="IsMouseOver" Value="True">
296
                    <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible" />
532
                  <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
297
                </Trigger>
533
                </Trigger>
-
 
534
                <DataTrigger Binding="{Binding IsVisible, ElementName=GridSettings}" Value="True">
-
 
535
                  <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
536
                </DataTrigger>
-
 
537
              </Style.Triggers>
-
 
538
            </Style>
-
 
539
          </Label.Style>
-
 
540
        </Label>
298
                <Trigger Property="IsKeyboardFocused" Value="true">
541
        <Label x:Name="labelLog" Content="{DynamicResource 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">
-
 
542
          <Label.RenderTransform>
-
 
543
            <TransformGroup>
-
 
544
              <ScaleTransform />
-
 
545
              <SkewTransform />
-
 
546
              <RotateTransform Angle="-90" />
-
 
547
              <TranslateTransform />
-
 
548
            </TransformGroup>
-
 
549
          </Label.RenderTransform>
-
 
550
          <Label.Style>
-
 
551
            <Style TargetType="{x:Type Label}">
-
 
552
              <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
553
              <Style.Triggers>
-
 
554
                <Trigger Property="IsMouseOver" Value="True">
299
                    <Setter Property="Foreground" TargetName="Thumb" Value="Blue" />
555
                  <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
300
                </Trigger>
556
                </Trigger>
-
 
557
                <DataTrigger Binding="{Binding IsVisible, ElementName=GridLog}" Value="True">
-
 
558
                  <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
559
                </DataTrigger>
301
            </ControlTemplate.Triggers>
560
              </Style.Triggers>
-
 
561
            </Style>
302
        </ControlTemplate>
562
          </Label.Style>
-
 
563
        </Label>
303
        <Style x:Key="TouchSliderStyle" TargetType="{x:Type Slider}">
564
        <Label x:Name="labelWaypoints" Content="{DynamicResource Waypoints}" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="82" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-30,234,-29,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelWaypoints_MouseDown" FontSize="14">
-
 
565
          <Label.RenderTransform>
-
 
566
            <TransformGroup>
-
 
567
              <ScaleTransform />
-
 
568
              <SkewTransform />
304
            <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false" />
569
              <RotateTransform Angle="-90" />
305
            <Setter Property="Background" Value="Transparent" />
570
              <TranslateTransform />
-
 
571
            </TransformGroup>
306
            <Setter Property="BorderBrush" Value="Transparent" />
572
          </Label.RenderTransform>
-
 
573
          <Label.Style>
307
            <Setter Property="Foreground" Value="{StaticResource SliderThumb.Static.Foreground}" />
574
            <Style TargetType="{x:Type Label}">
308
            <Setter Property="Template" Value="{StaticResource SliderHorizontal}" />
575
              <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
309
            <Style.Triggers>
576
              <Style.Triggers>
310
                <Trigger Property="Orientation" Value="Vertical">
577
                <Trigger Property="IsMouseOver" Value="True">
311
                    <Setter Property="Template" Value="{StaticResource SliderVertical}" />
578
                  <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
312
                </Trigger>
579
                </Trigger>
486
            </Grid>
646
            </Grid>
-
 
647
          </TabItem>
-
 
648
          <TabItem Header="Status">
-
 
649
            <Grid Margin="0">
-
 
650
              <Label x:Name="FC1_1" Content="{DynamicResource Motors on}" HorizontalAlignment="Left" Margin="6,12,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
487
            <Grid x:Name="GridLog" Margin="257,0,0,0" Background="#66000000" Height="66" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="518">
651
              <Label x:Name="FC1_2" Content="{DynamicResource Airborne}" HorizontalAlignment="Left" Margin="6,35,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
488
                <Grid.LayoutTransform>
652
              <Label x:Name="FC1_3" Content="{DynamicResource Calibrate}" HorizontalAlignment="Left" Margin="6,58,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
489
                    <ScaleTransform CenterX="0" CenterY="0" ScaleX="{Binding Value, ElementName=UIScaleLOGSlider}" ScaleY="{Binding Value, ElementName=UIScaleLOGSlider}" />
653
              <Label x:Name="FC1_4" Content="{DynamicResource Start}" HorizontalAlignment="Left" Margin="6,81,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
654
              <Label x:Name="FC1_5" Content="{DynamicResource Emergency landing}" HorizontalAlignment="Left" Margin="6,104,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
655
              <Label x:Name="FC1_6" Content="{DynamicResource Low battery}" HorizontalAlignment="Left" Margin="6,127,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
490
                </Grid.LayoutTransform>
656
              <Label x:Name="FC2_1" Content="{DynamicResource Carefree}" HorizontalAlignment="Left" Margin="6,150,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
657
              <Label x:Name="FC2_2" Content="{DynamicResource Altitude control}" HorizontalAlignment="Left" Margin="6,173,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
658
              <Label x:Name="FC2_3" Content="{DynamicResource RC failsave}" HorizontalAlignment="Left" Margin="6,196,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
659
              <Label x:Name="FC2_4" Content="{DynamicResource Out 1}" HorizontalAlignment="Left" Margin="6,219,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
660
              <Label x:Name="FC2_5" Content="{DynamicResource Out 2}" HorizontalAlignment="Left" Margin="6,242,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
491
                <RichTextBox x:Name="rtfError" Height="60" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="232" Margin="0,0,4,2" IsDocumentEnabled="True" AllowDrop="False" AcceptsReturn="False" IsReadOnly="True" IsUndoEnabled="False" UndoLimit="0" />
661
              <Label x:Name="FC2_7" Content="{DynamicResource Autostart}" HorizontalAlignment="Left" Margin="6,288,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
492
                <RichTextBox x:Name="rtfTerminal" Margin="0,0,239,2" HorizontalAlignment="Right" Width="276" Height="60" VerticalAlignment="Bottom" />
662
              <Label x:Name="FC2_8" Content="{DynamicResource Autoland}" HorizontalAlignment="Left" Margin="6,311,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
663
              <Label x:Name="NC1_2" Content="{DynamicResource Position hold}" HorizontalAlignment="Left" Margin="6,334,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
664
              <Label x:Name="NC1_3" Content="{DynamicResource Coming home}" HorizontalAlignment="Left" Margin="6,357,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
665
              <Label x:Name="NC1_4" Content="{DynamicResource Range limit}" HorizontalAlignment="Left" Margin="6,380,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
666
              <Label x:Name="NC1_5" Content="{DynamicResource No serial link}" HorizontalAlignment="Left" Margin="6,403,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
667
              <Label x:Name="NC1_6" Content="{DynamicResource Target reached}" HorizontalAlignment="Left" Margin="6,426,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
668
              <Label x:Name="NC1_7" Content="{DynamicResource Manual control}" HorizontalAlignment="Left" Margin="6,449,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
669
              <Label x:Name="NC1_8" Content="{DynamicResource GPS ok}" HorizontalAlignment="Left" Margin="6,472,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5" BorderBrush="White" HorizontalContentAlignment="Center" />
-
 
670
              <Label x:Name="FC2_6" Content="{DynamicResource Wait for takeoff}" HorizontalAlignment="Left" Margin="6,265,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="184" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center" />
493
            </Grid>
671
            </Grid>
494
            <Grid x:Name="GridSideBar" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Left" Width="23">
-
 
495
                <Label x:Name="labelData" Content="{DynamicResource Data}" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="84" Padding="0" MouseDown="labelData_MouseDown" RenderTransformOrigin="0.5,0.5" Margin="-31,55,-30,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" FontSize="14">
672
          </TabItem>
496
                    <Label.RenderTransform>
673
          <TabItem Header="Serial">
497
                        <TransformGroup>
-
 
498
                            <ScaleTransform />
-
 
499
                            <SkewTransform />
-
 
500
                            <RotateTransform Angle="-90" />
-
 
501
                            <TranslateTransform />
-
 
502
                        </TransformGroup>
-
 
503
                    </Label.RenderTransform>
-
 
504
                    <Label.Style>
674
            <Grid>
505
                        <Style TargetType="{x:Type Label}">
-
 
506
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
675
              <GroupBox x:Name="groupBox3" Header="Channel 1" HorizontalAlignment="Left" Height="188" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5">
507
                            <Style.Triggers>
-
 
508
                                <Trigger Property="IsMouseOver" Value="True">
-
 
509
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
510
                                </Trigger>
676
                <Grid Margin="0,0,-2,0.04">
511
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridData}" Value="True">
-
 
512
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
513
                                </DataTrigger>
-
 
514
                            </Style.Triggers>
-
 
515
                        </Style>
-
 
516
                    </Label.Style>
677
                  <TextBox x:Name="textBoxSerial1" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel1 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial1_TextChanged" />
517
                </Label>
-
 
518
                <Label x:Name="labelSettings" Content="{DynamicResource Settings}" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="94" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-36,145,-35,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelSettings_MouseDown" FontSize="14">
678
                  <Label x:Name="labelSerChan1" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan1ScaleSlider}">
519
                    <Label.RenderTransform>
-
 
520
                        <TransformGroup>
-
 
521
                            <ScaleTransform />
-
 
522
                            <SkewTransform />
-
 
523
                            <RotateTransform Angle="-90" />
-
 
524
                            <TranslateTransform />
-
 
525
                        </TransformGroup>
-
 
526
                    </Label.RenderTransform>
-
 
527
                    <Label.Style>
679
                    <Label.Style>
528
                        <Style TargetType="{x:Type Label}">
680
                      <Style TargetType="{x:Type Label}">
529
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
530
                            <Style.Triggers>
681
                        <Style.Triggers>
531
                                <Trigger Property="IsMouseOver" Value="True">
-
 
532
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
533
                                </Trigger>
-
 
534
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridSettings}" Value="True">
682
                          <DataTrigger Binding="{Binding Value, ElementName=SerChan1ScaleSlider}">
535
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
683
                            <Setter Property="Content" Value="{Binding Value, ElementName=SerChan1ScaleSlider}" />
536
                                </DataTrigger>
684
                          </DataTrigger>
537
                            </Style.Triggers>
685
                        </Style.Triggers>
538
                        </Style>
686
                      </Style>
539
                    </Label.Style>
687
                    </Label.Style>
540
                </Label>
688
                  </Label>
-
 
689
                  <Slider x:Name="SerChan1ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan1ScaleSlider_ValueChanged" IsSnapToTickEnabled="True" />
-
 
690
                  <Button x:Name="btnSer1_0" Content="{DynamicResource 0}" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_0_Click" />
-
 
691
                  <Button x:Name="btnSer1_127" Content="{DynamicResource 127}" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_127_Click" />
541
                <Label x:Name="labelLog" Content="{DynamicResource 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">
692
                  <Button x:Name="btnSer1_254" Content="{DynamicResource 254}" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_254_Click" />
542
                    <Label.RenderTransform>
693
                  <TextBox x:Name="textBoxSerial1_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val1_TextChanged" />
543
                        <TransformGroup>
694
                  <TextBox x:Name="textBoxSerial1_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val2_TextChanged" />
544
                            <ScaleTransform />
695
                  <TextBox x:Name="textBoxSerial1_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val3_TextChanged" />
-
 
696
                  <Button x:Name="btnSer1_val1" Content="{Binding Text, ElementName=textBoxSerial1_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val1_Click">
-
 
697
                    <Button.Style>
-
 
698
                      <Style TargetType="{x:Type Button}">
545
                            <SkewTransform />
699
                        <Style.Triggers>
-
 
700
                          <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}" />
546
                            <RotateTransform Angle="-90" />
701
                        </Style.Triggers>
-
 
702
                      </Style>
-
 
703
                    </Button.Style>
-
 
704
                  </Button>
-
 
705
                  <Button x:Name="btnSer1_val2" Content="{Binding Text, ElementName=textBoxSerial1_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val2_Click">
-
 
706
                    <Button.Style>
-
 
707
                      <Style TargetType="{x:Type Button}">
-
 
708
                        <Style.Triggers>
-
 
709
                          <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val2}" />
547
                            <TranslateTransform />
710
                        </Style.Triggers>
-
 
711
                      </Style>
-
 
712
                    </Button.Style>
-
 
713
                  </Button>
-
 
714
                  <Button x:Name="btnSer1_val3" Content="{Binding Text, ElementName=textBoxSerial1_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val3_Click">
-
 
715
                    <Button.Style>
-
 
716
                      <Style TargetType="{x:Type Button}">
-
 
717
                        <Style.Triggers>
-
 
718
                          <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val3}" />
548
                        </TransformGroup>
719
                        </Style.Triggers>
-
 
720
                      </Style>
-
 
721
                    </Button.Style>
-
 
722
                  </Button>
-
 
723
                </Grid>
-
 
724
              </GroupBox>
-
 
725
              <GroupBox x:Name="groupBoxSerchan2" Header="Channel 2" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,193,0,0">
-
 
726
                <Grid Margin="0,0,-2,0.04">
549
                    </Label.RenderTransform>
727
                  <TextBox x:Name="textBoxSerial2" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel2 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial2_TextChanged" />
-
 
728
                  <Label x:Name="labelSerChan2" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan2ScaleSlider}">
550
                    <Label.Style>
729
                    <Label.Style>
551
                        <Style TargetType="{x:Type Label}">
730
                      <Style TargetType="{x:Type Label}">
552
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
553
                            <Style.Triggers>
731
                        <Style.Triggers>
554
                                <Trigger Property="IsMouseOver" Value="True">
-
 
555
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
556
                                </Trigger>
-
 
557
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridLog}" Value="True">
732
                          <DataTrigger Binding="{Binding Value, ElementName=SerChan2ScaleSlider}">
558
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
733
                            <Setter Property="Content" Value="{Binding Value, ElementName=SerChan2ScaleSlider}" />
559
                                </DataTrigger>
734
                          </DataTrigger>
560
                            </Style.Triggers>
735
                        </Style.Triggers>
561
                        </Style>
736
                      </Style>
562
                    </Label.Style>
737
                    </Label.Style>
563
                </Label>
738
                  </Label>
-
 
739
                  <Slider x:Name="SerChan2ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan2ScaleSlider_ValueChanged" IsSnapToTickEnabled="True" />
-
 
740
                  <Button x:Name="btnSer2_0" Content="{DynamicResource 0}" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_0_Click" />
-
 
741
                  <Button x:Name="btnSer2_127" Content="{DynamicResource 127}" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_127_Click" />
564
                <Label x:Name="labelWaypoints" Content="{DynamicResource Waypoints}" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="82" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-30,234,-29,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelWaypoints_MouseDown" FontSize="14">
742
                  <Button x:Name="btnSer2_254" Content="{DynamicResource 254}" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_254_Click" />
565
                    <Label.RenderTransform>
743
                  <TextBox x:Name="textBoxSerial2_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val1_TextChanged" />
566
                        <TransformGroup>
744
                  <TextBox x:Name="textBoxSerial2_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val2_TextChanged" />
567
                            <ScaleTransform />
745
                  <TextBox x:Name="textBoxSerial2_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val3_TextChanged" />
-
 
746
                  <Button x:Name="btnSer2_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val1_Click">
-
 
747
                    <Button.Style>
-
 
748
                      <Style TargetType="{x:Type Button}">
568
                            <SkewTransform />
749
                        <Style.Triggers>
-
 
750
                          <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}" />
569
                            <RotateTransform Angle="-90" />
751
                        </Style.Triggers>
-
 
752
                      </Style>
-
 
753
                    </Button.Style>
-
 
754
                  </Button>
-
 
755
                  <Button x:Name="btnSer2_val2" Content="{Binding Text, ElementName=textBoxSerial2_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val2_Click">
-
 
756
                    <Button.Style>
-
 
757
                      <Style TargetType="{x:Type Button}">
-
 
758
                        <Style.Triggers>
-
 
759
                          <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val2}" />
570
                            <TranslateTransform />
760
                        </Style.Triggers>
-
 
761
                      </Style>
-
 
762
                    </Button.Style>
-
 
763
                  </Button>
-
 
764
                  <Button x:Name="btnSer2_val3" Content="{Binding Text, ElementName=textBoxSerial2_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val3_Click">
-
 
765
                    <Button.Style>
-
 
766
                      <Style TargetType="{x:Type Button}">
-
 
767
                        <Style.Triggers>
-
 
768
                          <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val3}" />
571
                        </TransformGroup>
769
                        </Style.Triggers>
-
 
770
                      </Style>
-
 
771
                    </Button.Style>
-
 
772
                  </Button>
-
 
773
                </Grid>
-
 
774
              </GroupBox>
-
 
775
              <GroupBox x:Name="groupBoxSerchan3" Header="Channel 3" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,391,0,0">
-
 
776
                <Grid Margin="0,0,-2,-12.96">
572
                    </Label.RenderTransform>
777
                  <TextBox x:Name="textBoxSerial3" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel3 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial3_TextChanged" />
-
 
778
                  <Label x:Name="labelSerChan3" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan3ScaleSlider}">
573
                    <Label.Style>
779
                    <Label.Style>
574
                        <Style TargetType="{x:Type Label}">
780
                      <Style TargetType="{x:Type Label}">
575
                            <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
576
                            <Style.Triggers>
781
                        <Style.Triggers>
577
                                <Trigger Property="IsMouseOver" Value="True">
-
 
578
                                    <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
579
                                </Trigger>
-
 
580
                                <DataTrigger Binding="{Binding IsVisible, ElementName=GridWP}" Value="True">
782
                          <DataTrigger Binding="{Binding Value, ElementName=SerChan3ScaleSlider}">
581
                                    <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
783
                            <Setter Property="Content" Value="{Binding Value, ElementName=SerChan3ScaleSlider}" />
582
                                </DataTrigger>
784
                          </DataTrigger>
583
                            </Style.Triggers>
785
                        </Style.Triggers>
584
                        </Style>
786
                      </Style>
585
                    </Label.Style>
787
                    </Label.Style>
1242
            </Grid>
825
            </Grid>
1243
            <Grid x:Name="GridOSD" Margin="0,38,330,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden">
-
 
1244
                <Grid.LayoutTransform>
826
          </TabItem>
1245
                    <ScaleTransform CenterX="0" CenterY="0" ScaleX="{Binding Value, ElementName=UIScaleOSDSlider}" ScaleY="{Binding Value, ElementName=UIScaleOSDSlider}" />
827
          <TabItem Header="License">
1246
                </Grid.LayoutTransform>
828
            <Grid>
1247
                <RichTextBox x:Name="rtfOSD" Height="83" VerticalAlignment="Top" HorizontalAlignment="Left" Width="190" Margin="10,5,0,0" FontFamily="Consolas" FontSize="16" />
829
              <TextBlock x:Name="tbDataLicenseUser" HorizontalAlignment="Left" Height="44" Margin="10,60,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16" />
-
 
830
              <TextBlock x:Name="tbDataLicenseMail" HorizontalAlignment="Left" Height="23" Margin="10,128,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16" />
1248
                <ComboBox x:Name="cbOSD" HorizontalAlignment="Left" Margin="203,96,0,0" VerticalAlignment="Top" Width="47" Height="27" DropDownClosed="cbOSD_DropDownClosing" />
831
              <Label x:Name="label6_Copy25" Content="{DynamicResource User:}" HorizontalAlignment="Left" Margin="2,38,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14" />
1249
                <Button x:Name="btnOSDBackward" Content="Å" HorizontalAlignment="Left" Height="34" Margin="203,44,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDBackward_Click" />
832
              <Label x:Name="label6_Copy26" Content="{DynamicResource Mail:}" HorizontalAlignment="Left" Margin="2,104,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14" />
1250
                <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click" />
833
              <TextBlock x:Name="tbDataLicenseFeature" HorizontalAlignment="Left" Height="44" Margin="10,175,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16" />
1251
                <Label x:Name="label_Copy7" Content="{DynamicResource Page}" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47" />
834
              <Label x:Name="label6_Copy27" Content="{DynamicResource Feature:}" HorizontalAlignment="Left" Margin="2,151,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14" />
1252
                <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click" />
835
              <TextBlock x:Name="tbDataLicenseExpire" HorizontalAlignment="Left" Height="23" Margin="10,253,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16" />
1253
                <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click" />
836
              <TextBlock x:Name="tbDataLicenseLicense" HorizontalAlignment="Left" Height="23" Margin="10,304,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="174" Foreground="White" FontSize="16" />
-
 
837
              <Label x:Name="label6_Copy28" Content="{DynamicResource Expire:}" HorizontalAlignment="Left" Margin="2,224,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14" />
-
 
838
              <Label x:Name="label6_Copy29" Content="{DynamicResource License:}" HorizontalAlignment="Left" Margin="2,281,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14" />
1254
            </Grid>
839
            </Grid>
1255
            <Label x:Name="lblSimu" Content="{DynamicResource Simulation active}" Height="22" Margin="0,36,24,0" VerticalAlignment="Top" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Padding="0" FontFamily="Arial" BorderBrush="#FFF9A40F" BorderThickness="2" Foreground="Black" HorizontalAlignment="Right" Width="135" Visibility="Collapsed">
840
          </TabItem>
1256
                <Label.Background>
-
 
1257
                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
-
 
1258
                        <GradientStop Color="#FFFFD8C6" />
-
 
1259
                        <GradientStop Color="#FFFFD29B" Offset="0.18" />
-
 
1260
                        <GradientStop Color="#FFFFD07F" Offset="0.391" />
-
 
1261
                        <GradientStop Color="#FFFFA261" Offset="1" />
-
 
1262
                    </LinearGradientBrush>
-
 
1263
                </Label.Background>
841
        </TabControl>
1264
            </Label>
842
      </Grid>
1265
            <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="435" VerticalAlignment="Top" Visibility="Collapsed">
843
      <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="267" Margin="23,36,0,0" Visibility="Collapsed">
1266
                <Label x:Name="label4" Content="{DynamicResource points}" HorizontalAlignment="Right" Margin="0,480,51,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="19" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" Visibility="Hidden" />
844
        <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="263" Background="{x:Null}" Margin="4,0,0,0">
1267
                <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,482,19,0" VerticalAlignment="Top" Width="26" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13" Visibility="Hidden" />
-
 
1268
                <Label x:Name="label4_Copy" Content="{DynamicResource WP Index}" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden" />
-
 
1269
                <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden" />
-
 
1270
                <Border Margin="7,365,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="590" Height="67" VerticalAlignment="Top">
-
 
1271
                    <Grid Margin="0,0,-1,4">
-
 
1272
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="104,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1273
                            <Rectangle.Style>
-
 
1274
                                <Style TargetType="{x:Type Rectangle}">
-
 
1275
                                    <Style.Triggers>
-
 
1276
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True">
-
 
1277
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1278
                                        </DataTrigger>
-
 
1279
                                    </Style.Triggers>
-
 
1280
                                </Style>
-
 
1281
                            </Rectangle.Style>
-
 
1282
                        </Rectangle>
-
 
1283
                        <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="105,0,0,0" VerticalAlignment="Bottom" Width="92" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}">
845
          <TabItem Header="{DynamicResource General}" Margin="0,0,5.849,0">
1284
                            <Button.Background>
-
 
1285
                                <ImageBrush ImageSource="Images/FromCopterToPc1.png" Stretch="Uniform" />
-
 
1286
                            </Button.Background>
-
 
1287
                        </Button>
-
 
1288
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="5,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1289
                            <Rectangle.Style>
-
 
1290
                                <Style TargetType="{x:Type Rectangle}">
-
 
1291
                                    <Style.Triggers>
-
 
1292
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True">
-
 
1293
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1294
                                        </DataTrigger>
-
 
1295
                                    </Style.Triggers>
-
 
1296
                                </Style>
846
            <Grid x:Name="TabGridGeneral">
1297
                            </Rectangle.Style>
-
 
1298
                        </Rectangle>
-
 
1299
                        <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="6,0,0,0" VerticalAlignment="Bottom" Width="92" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
847
              <wpConverter:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="268" Margin="11,5,0,0" VerticalAlignment="Top" Width="236" />
1300
                            <Button.Background>
-
 
1301
                                <ImageBrush ImageSource="Images/WPToCopter1.png" Stretch="Uniform" />
-
 
1302
                            </Button.Background>
-
 
1303
                        </Button>
-
 
1304
                        <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="224,0,0,-1" Height="40" VerticalAlignment="Bottom">
848
              <GroupBox x:Name="groupBox" Header="{DynamicResource timings autoupdate (ms)}" HorizontalAlignment="Left" Height="129" Margin="10,278,0,0" VerticalAlignment="Top" Width="237" Foreground="White" BorderThickness="0.5,0.5,0.4,0.4" FontSize="14">
1305
                            <Rectangle.Style>
-
 
1306
                                <Style TargetType="{x:Type Rectangle}">
-
 
1307
                                    <Style.Triggers>
-
 
1308
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True">
-
 
1309
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1310
                                        </DataTrigger>
-
 
1311
                                    </Style.Triggers>
-
 
1312
                                </Style>
849
                <Grid Margin="0,0,-12,-6">
1313
                            </Rectangle.Style>
-
 
1314
                        </Rectangle>
-
 
1315
                        <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="224,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
850
                  <Label x:Name="label" Content="{DynamicResource debug values}" HorizontalAlignment="Left" Margin="4,13,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="100" />
1316
                            <Button.Background>
-
 
1317
                                <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform" />
-
 
1318
                            </Button.Background>
-
 
1319
                        </Button>
-
 
1320
                        <Label x:Name="label4_Copy5" Content="{DynamicResource receive from copter}" HorizontalAlignment="Left" Margin="98,0,0,36" VerticalAlignment="Bottom" Width="133" Foreground="White" Height="26" />
851
                  <Label x:Name="label_Copy" Content="{DynamicResource Nav-Ctrl values}" HorizontalAlignment="Left" Margin="4,36,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="101" />
1321
                        <Label x:Name="label4_Copy6" Content="{DynamicResource send to copter}" HorizontalAlignment="Left" Margin="-1,0,0,36" VerticalAlignment="Bottom" Width="112" Foreground="White" Height="26" />
852
                  <Label x:Name="label_Copy1" Content="{DynamicResource BL-Ctrl values}" HorizontalAlignment="Left" Margin="4,59,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="100" />
1322
                        <Label x:Name="label4_Copy7" Content="{DynamicResource load file}" HorizontalAlignment="Left" Margin="219,0,0,35" VerticalAlignment="Bottom" Width="75" Foreground="White" />
853
                  <Label x:Name="label_Copy2" Content="{DynamicResource OSD values}" HorizontalAlignment="Left" Margin="4,82,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="96" />
1323
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="387,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1324
                            <Rectangle.Style>
-
 
1325
                                <Style TargetType="{x:Type Rectangle}">
-
 
1326
                                    <Style.Triggers>
-
 
1327
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearWPList}" Value="True">
-
 
1328
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1329
                                        </DataTrigger>
-
 
1330
                                    </Style.Triggers>
-
 
1331
                                </Style>
-
 
1332
                            </Rectangle.Style>
-
 
1333
                        </Rectangle>
-
 
1334
                        <Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="387,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="clear all items from the local WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click">
854
                  <ComboBox x:Name="cBoxTimingsDebug" HorizontalAlignment="Left" Height="23" Margin="109,10,0,0" VerticalAlignment="Top" Width="82" Padding="6,0,0,0" DropDownClosed="cBoxTimingsDebug_DropDownClosed" />
1335
                            <Button.Background>
-
 
1336
                                <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform" />
-
 
1337
                            </Button.Background>
-
 
1338
                        </Button>
-
 
1339
                        <Label x:Name="label4_Copy11" Content="{DynamicResource clear local list}" HorizontalAlignment="Left" Margin="382,0,0,35" VerticalAlignment="Bottom" Width="118" Foreground="White" />
-
 
1340
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="486,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1341
                            <Rectangle.Style>
-
 
1342
                                <Style TargetType="{x:Type Rectangle}">
-
 
1343
                                    <Style.Triggers>
-
 
1344
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearCopterList}" Value="True">
-
 
1345
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1346
                                        </DataTrigger>
-
 
1347
                                    </Style.Triggers>
-
 
1348
                                </Style>
-
 
1349
                            </Rectangle.Style>
-
 
1350
                        </Rectangle>
-
 
1351
                        <Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="488,0,0,1" VerticalAlignment="Bottom" Width="92" ToolTip="clear all items from the WP list in the copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearCopterList_Click">
855
                  <ComboBox x:Name="cBoxTimingsNav" HorizontalAlignment="Left" Height="23" Margin="109,33,0,0" VerticalAlignment="Top" Width="82" Padding="6,0,0,0" DropDownClosed="cBoxTimingsNav_DropDownClosed" />
1352
                            <Button.Background>
-
 
1353
                                <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform" />
-
 
1354
                            </Button.Background>
-
 
1355
                        </Button>
-
 
1356
                        <Label x:Name="label4_Copy12" Content="{DynamicResource clear copter list}" HorizontalAlignment="Left" Margin="480,0,0,35" VerticalAlignment="Bottom" Width="110" Foreground="White" Height="26" />
-
 
1357
                        <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="296,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1358
                            <Rectangle.Style>
-
 
1359
                                <Style TargetType="{x:Type Rectangle}">
-
 
1360
                                    <Style.Triggers>
-
 
1361
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True">
-
 
1362
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1363
                                        </DataTrigger>
-
 
1364
                                    </Style.Triggers>
-
 
1365
                                </Style>
-
 
1366
                            </Rectangle.Style>
-
 
1367
                        </Rectangle>
-
 
1368
                        <Button x:Name="btnSaveWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="296,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="save list to *.wpl file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnSaveWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
856
                  <ComboBox x:Name="cBoxTimingsBl" HorizontalAlignment="Left" Height="23" Margin="109,56,0,0" VerticalAlignment="Top" Width="82" Padding="6,0,0,0" DropDownClosed="cBoxTimingsBl_DropDownClosed" />
1369
                            <Button.Background>
-
 
1370
                                <ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform" />
-
 
1371
                            </Button.Background>
-
 
1372
                        </Button>
-
 
1373
                        <Label x:Name="label4_Copy13" Content="{DynamicResource save file}" HorizontalAlignment="Left" Margin="290,0,0,35" VerticalAlignment="Bottom" Width="92" Foreground="White" />
-
 
1374
                    </Grid>
-
 
1375
                </Border>
-
 
1376
                <DataGrid x:Name="dgvWP" Margin="10,5,10,84" Background="{x:Null}" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0" AutoGenerateColumns="False" MouseUp="dgvWP_MouseUp" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False" MouseDoubleClick="dgvWP_MouseDoubleClick" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" IsReadOnly="True">
857
                  <ComboBox x:Name="cBoxTimingsOSD" HorizontalAlignment="Left" Height="23" Margin="109,79,0,0" VerticalAlignment="Top" Width="82" Padding="6,0,0,0" DropDownClosed="cBoxTimingsOSD_DropDownClosed" />
1377
                    <DataGrid.Columns>
858
                  <CheckBox x:Name="chkbAutoDbg" Content="" HorizontalAlignment="Left" Height="16" Margin="198,13,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoDbg_Click" />
1378
                        <DataGridTextColumn x:Name="dataGridTextColumn" Header="Index" Binding="{Binding Index}" />
-
 
1379
                        <DataGridTextColumn Header="Type" Binding="{Binding Type, ConverterParameter=Type, Converter={StaticResource wpConvert}}" />
-
 
1380
                        <DataGridTextColumn Header="Name" Binding="{Binding Name}" />
-
 
1381
                        <DataGridTextColumn Header="Latitude" Binding="{Binding Latitude, ConverterParameter=Latitude, Converter={StaticResource wpConvert}}" />
-
 
1382
                        <DataGridTextColumn Header="Longitude" Binding="{Binding Longitude, ConverterParameter=Longitude, Converter={StaticResource wpConvert}}" />
-
 
1383
                        <DataGridTextColumn Header="Altitude" Binding="{Binding Altitude, ConverterParameter=Altitude, Converter={StaticResource wpConvert}}" />
-
 
1384
                        <DataGridTextColumn Header="Heading" Binding="{Binding Heading, ConverterParameter=Heading, Converter={StaticResource wpConvert}}" />
-
 
1385
                        <DataGridTextColumn Header="Speed" Binding="{Binding Speed, ConverterParameter=Speed, Converter={StaticResource wpConvert}}" />
-
 
1386
                        <DataGridTextColumn Header="ClimbRate" Binding="{Binding ClimbRate, ConverterParameter=ClimbRate, Converter={StaticResource wpConvert}}" />
-
 
1387
                        <DataGridTextColumn Header="Radius" Binding="{Binding Radius, ConverterParameter=Radius, Converter={StaticResource wpConvert}}" />
-
 
1388
                        <DataGridTextColumn Header="HoldTime" Binding="{Binding HoldTime, ConverterParameter=DelayTime, Converter={StaticResource wpConvert}}" />
-
 
1389
                        <DataGridTextColumn Header="AutoTrigger" Binding="{Binding AutoTrigger, ConverterParameter=AutoTrigger, Converter={StaticResource wpConvert}}" />
859
                  <CheckBox x:Name="chkbAutoNav" Content="" HorizontalAlignment="Left" Height="16" Margin="198,36,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoNav_Click" />
1390
                        <DataGridTextColumn Header="CamAngle" Binding="{Binding CamAngle, ConverterParameter=CamAngle, Converter={StaticResource wpConvert}}" />
-
 
1391
                        <DataGridTextColumn Header="Out1Timer" Binding="{Binding Out1Timer}" />
-
 
1392
                    </DataGrid.Columns>
860
                  <CheckBox x:Name="chkbAutoBL" Content="" HorizontalAlignment="Left" Height="16" Margin="198,59,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoBL_Click" />
1393
                </DataGrid>
861
                  <CheckBox x:Name="chkbAutoOSD" Content="" HorizontalAlignment="Left" Height="16" Margin="198,82,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoOSD_Click" />
1394
                <CheckBox x:Name="checkBoxShowWPRoute" Content="{DynamicResource show route}" HorizontalAlignment="Right" Height="22" Margin="0,361,175,0" VerticalAlignment="Top" Width="110" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click" />
862
                  <Label x:Name="label_Copy3" Content="{DynamicResource LiPo Cells}" HorizontalAlignment="Left" Margin="-6,121,0,-30" VerticalAlignment="Top" Foreground="White" Padding="0" Width="76" />
1395
                <Label x:Name="label4_Copy9" Content="{DynamicResource total distance}" HorizontalAlignment="Right" Margin="0,356,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Padding="0" Height="18" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" FontSize="13" />
863
                  <ComboBox x:Name="cBoxLiPoCells" HorizontalAlignment="Left" Height="23" Margin="70,120,0,-34" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxLiPoCells_DropDownClosed" />
1396
                <Label x:Name="lblWPRouteDistance" Content="{DynamicResource 0 m}" HorizontalAlignment="Right" Margin="0,356,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13" />
864
                  <CheckBox x:Name="chkbAutoLiPoDetect" Content="{DynamicResource auto detect}" HorizontalAlignment="Left" Height="46" VerticalAlignment="Top" Width="96" HorizontalContentAlignment="Center" BorderThickness="2" FontSize="13.333" Padding="0" Click="chkbAutoLiPo_Click" Margin="125,107,0,-44" VerticalContentAlignment="Center" Foreground="White" />
1397
                <Label x:Name="label4_Copy14" Content="/" HorizontalAlignment="Right" Margin="0,411,28,0" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
865
                  <Label x:Name="label_Copy4" Content="{DynamicResource Capacity}" HorizontalAlignment="Left" Margin="4,150,0,-58.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63" Visibility="Hidden" />
1398
                <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,414,1,0" VerticalAlignment="Top" Width="25" Foreground="White" Padding="0" Height="16" FontSize="13" />
866
                  <Label x:Name="label_Copy5" Content="{DynamicResource Motors}" HorizontalAlignment="Left" Margin="8,150,0,-59" VerticalAlignment="Top" Foreground="White" Padding="0" Width="62" />
1399
                <Label x:Name="label4_Copy15" Content="{DynamicResource active WP}" HorizontalAlignment="Right" Margin="0,411,60,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
867
                  <ComboBox x:Name="cBoxMotors" HorizontalAlignment="Left" Height="23" Margin="70,148,0,-62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxMotors_DropDownClosed" />
1400
                <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,414,35,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13" />
-
 
1401
                <Rectangle x:Name="rectSimulate" HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="624,0,0,10" Height="37" VerticalAlignment="Bottom" Visibility="Collapsed">
-
 
1402
                    <Rectangle.Fill>
-
 
1403
                        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
-
 
1404
                            <GradientStop Color="#FF9DFFAA" />
-
 
1405
                            <GradientStop Color="#FF5DE094" Offset="0.236" />
-
 
1406
                            <GradientStop Color="#FF5DD6A0" Offset="0.39" />
-
 
1407
                            <GradientStop Color="#FF4FCF8F" Offset="1" />
-
 
1408
                        </LinearGradientBrush>
-
 
1409
                    </Rectangle.Fill>
-
 
1410
                </Rectangle>
-
 
1411
                <Rectangle HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="602,389,0,0" Height="37" VerticalAlignment="Top">
-
 
1412
                    <Rectangle.Style>
-
 
1413
                        <Style TargetType="{x:Type Rectangle}">
-
 
1414
                            <Style.Triggers>
-
 
1415
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPSimulateStart}" Value="True">
-
 
1416
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1417
                                </DataTrigger>
-
 
1418
                            </Style.Triggers>
-
 
1419
                        </Style>
-
 
1420
                    </Rectangle.Style>
-
 
1421
                </Rectangle>
-
 
1422
                <Button x:Name="btnWPSimulateStart" Content="" HorizontalAlignment="Left" Height="33" Margin="602,391,0,0" VerticalAlignment="Top" Width="58" ToolTip="Start/stop simulationmode on copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPSimulateStart_Click">
868
                  <Label x:Name="label_Copy13" Content="{DynamicResource UILanguage}" HorizontalAlignment="Left" Margin="-6,183,0,-92" VerticalAlignment="Top" Foreground="White" Padding="0" Width="139" />
1423
                    <Button.Background>
-
 
1424
                        <ImageBrush ImageSource="Images/Test.png" Stretch="Uniform" />
-
 
1425
                    </Button.Background>
-
 
1426
                </Button>
869
                </Grid>
1427
                <Label x:Name="label4_Copy32" Content="{DynamicResource Simulation}" HorizontalAlignment="Left" Margin="597,367,0,0" VerticalAlignment="Top" Width="74" Foreground="White" Height="26" />
-
 
1428
                <Label x:Name="label4_Copy35" Content="{DynamicResource distance next WP}" HorizontalAlignment="Center" Margin="784,373,51,0" VerticalAlignment="Top" Width="126" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
870
              </GroupBox>
1429
                <Label x:Name="lblWPRouteDistanceWP" Content="{DynamicResource 0 m}" HorizontalAlignment="Right" Margin="0,375,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13" />
871
              <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden" />
1430
                <Label x:Name="label4_Copy36" Content="{DynamicResource hold time}" HorizontalAlignment="Right" Margin="0,392,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
872
              <Button x:Name="buttonSwitchNC" Content="{DynamicResource switch to NC}" HorizontalAlignment="Left" Height="49" Margin="48,447,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" FontSize="16" Background="#FFF7ACAC" BorderBrush="Red" Visibility="Hidden" />
1431
                <Label x:Name="lblWPHoldTime" Content="{DynamicResource 0 s}" HorizontalAlignment="Right" Margin="0,394,10,0" VerticalAlignment="Top" Width="36" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13" />
873
              <ComboBox x:Name="cbLang" HorizontalAlignment="Left" Height="34" Margin="11,503,0,0" VerticalAlignment="Top" Width="140" DropDownClosed="cbLang_DropDownClosed" FontSize="21.333" SelectedIndex="0">
1432
                <CheckBox x:Name="checkBoxShowWPStatus" Content="{DynamicResource show statusbar}" HorizontalAlignment="Right" Height="22" Margin="0,379,160,0" VerticalAlignment="Top" Width="125" Foreground="#FFFFFEFE" Click="checkBoxShowWPStatus_Click" />
874
                <ComboBoxItem Content="English" HorizontalAlignment="Left" Width="138" />
1433
                <CheckBox x:Name="checkBoxShowWPMaxRange" Content="{DynamicResource show max range}" HorizontalAlignment="Right" Height="22" Margin="0,397,160,0" VerticalAlignment="Top" Width="125" Foreground="#FFFFFEFE" Click="checkBoxShowWPMaxRange_click" />
875
                <ComboBoxItem Content="Deutsch" HorizontalAlignment="Left" Width="138" />
1434
                <CheckBox x:Name="checkBoxAutoShowWPEdit" Content="{DynamicResource auto show edit window}" HorizontalAlignment="Right" Height="22" Margin="0,415,133,-2" VerticalAlignment="Top" Width="152" Foreground="#FFFFFEFE" Click="checkBoxAutoShowWPEdit_Click" ToolTip="automaticly open the WP-Edit window, when selecting a WP" />
876
              </ComboBox>
1435
            </Grid>
877
            </Grid>
1553
            </Grid>
977
            </Grid>
-
 
978
          </TabItem>
-
 
979
          <TabItem Header="{DynamicResource Map}" Height="20" VerticalAlignment="Top" Margin="1,0">
-
 
980
            <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226">
1554
            <Grid x:Name="WPStatus" HorizontalAlignment="Left" Height="37" Margin="295,37,0,0" VerticalAlignment="Top" Width="313" Background="#7F000000" Style="{StaticResource GridVisibility}" Tag="{Binding ElementName=checkBoxShowWPStatus}">
981
              <CheckBox x:Name="checkBoxFollowCopter" Content="{DynamicResource follow copter}" HorizontalAlignment="Left" Margin="8,480,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="{DynamicResource checkBoxFollowCopter}" />
1555
                <Canvas Margin="225,2,40,4">
982
              <CheckBox x:Name="checkBoxAutoSetHP" Content="{DynamicResource auto set HP}" HorizontalAlignment="Left" Margin="92,402,0,0" Width="134" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="{DynamicResource checkBoxAutoSetHP}" Click="checkBoxAutoSetHP_Click" />
-
 
983
              <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut" />
-
 
984
              <Button x:Name="buttonGeoCoding" Content="{DynamicResource Go To!}" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click" />
-
 
985
              <Button Height="27" Margin="0,127,10,0" x:Name="buttonReloadMap" VerticalAlignment="Top" Click="ReloadMap_Click" HorizontalAlignment="Right" Width="85" Content="{DynamicResource Reload}" />
-
 
986
              <TextBox Margin="6,78,36,0" x:Name="textBoxLat" Height="23" VerticalAlignment="Top" VerticalContentAlignment="Center" />
-
 
987
              <TextBox Margin="6,102,36,0" x:Name="textBoxLng" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" />
-
 
988
              <Button Height="27" HorizontalAlignment="Left" Margin="6,127,0,0" x:Name="buttonGeoLoc" VerticalAlignment="Top" Width="63" Click="buttonGeoLoc_Click" Content="{DynamicResource Go To!}" />
-
 
989
              <Label Height="23" HorizontalAlignment="Right" Margin="0,78,-23,0" x:Name="label2" VerticalAlignment="Top" Width="54" VerticalContentAlignment="Center" Foreground="White" Content="{DynamicResource lat}" />
1556
                    <Label x:Name="label4_Copy38" Content="{DynamicResource WP}" HorizontalAlignment="Center" VerticalAlignment="Top" Width="86" Foreground="White" Height="31" Padding="4,1,1,1" VerticalContentAlignment="Center" FontSize="14" BorderBrush="#FFDBDFE6" BorderThickness="0.5" ToolTip="active WP index" />
990
              <Label Height="29" HorizontalAlignment="Right" Margin="0,99,-23,0" x:Name="label3" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="54" Foreground="White" Content="{DynamicResource lng}" />
-
 
991
              <ComboBox FontSize="12" Margin="6,174,10,0" x:Name="comboBoxMapType" Height="25" VerticalAlignment="Top" SelectedItem="{Binding MapProvider, ElementName=MainMap}" />
-
 
992
              <Label HorizontalAlignment="Right" Margin="0,151,110,0" x:Name="label1" Width="109" Height="28" VerticalAlignment="Top" Foreground="White" Content="{DynamicResource Map provider}" />
-
 
993
              <ComboBox FontSize="12" Height="25" Margin="6,218,10,0" x:Name="comboBoxMode" VerticalAlignment="Top" DropDownClosed="comboBoxMode_DropDownClosed" />
-
 
994
              <Label Height="32" HorizontalAlignment="Right" Margin="0,194,117,0" x:Name="label5" VerticalAlignment="Top" Width="102" Foreground="White" Content="{DynamicResource Caching Mode}" />
-
 
995
              <Button x:Name="buttonPrefetch" Content="{DynamicResource Prefetch cache}" HorizontalAlignment="Left" Margin="6,245,0,0" VerticalAlignment="Top" Width="109" Height="30" Click="buttonPrefetch_Click" />
-
 
996
              <Label HorizontalAlignment="Right" Margin="0,0,99,0" x:Name="label1_Copy" Width="120" Height="29" VerticalAlignment="Top" Foreground="White" Content="{DynamicResource Geocoding location}" />
-
 
997
              <TextBox Margin="6,349,36,0" x:Name="textBoxLat_currentPos" VerticalContentAlignment="Center" Height="23" VerticalAlignment="Top" />
-
 
998
              <TextBox Margin="6,373,36,0" x:Name="textBoxLng_currentPos" VerticalContentAlignment="Center" Height="22" VerticalAlignment="Top" />
1557
                    <Label x:Name="label4_Copy37" Content="/" HorizontalAlignment="Right" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="14" Canvas.Left="50" Canvas.Top="5" />
999
              <Label Height="23" HorizontalAlignment="Right" Margin="0,349,-23,0" x:Name="label2_Copy" VerticalAlignment="Top" Width="54" VerticalContentAlignment="Center" Foreground="White" Content="{DynamicResource lat}" />
1558
                    <Label x:Name="lblWPStatusIndexNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="31" FontSize="14" Canvas.Left="25" VerticalContentAlignment="Center" />
1000
              <Label Height="29" HorizontalAlignment="Right" Margin="0,370,-23,0" x:Name="label3_Copy" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="54" Foreground="White" Content="{DynamicResource lng}" />
1559
                    <Label x:Name="lblWPStatusCountNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Center" Width="25" Foreground="White" Padding="0" Height="31" FontSize="14" Canvas.Left="59" VerticalContentAlignment="Center" />
1001
              <Label HorizontalAlignment="Right" Margin="0,325,111,0" x:Name="label1_Copy1" Width="109" Foreground="White" Content="{DynamicResource Current position}" Height="28" VerticalAlignment="Top" />
1560
                </Canvas>
1002
              <Slider x:Name="sliderMapZoom" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Margin="10,303,0,0" Width="206" Maximum="24" SmallChange="1" Value="0" IsSnapToTickEnabled="True" ValueChanged="sliderMapZoom_ValueChanged" Height="29" VerticalAlignment="Top" />
-
 
1003
              <Label Height="23" HorizontalAlignment="Right" Margin="0,275,147,0" x:Name="label2_Copy1" VerticalAlignment="Top" Width="69" VerticalContentAlignment="Center" Foreground="White" Content="{DynamicResource Zoomlevel}" />
1561
                <Canvas Margin="79,3,189,158" ToolTip="distance next WP">
1004
              <Label Height="23" HorizontalAlignment="Right" Margin="0,275,101,0" x:Name="labelZoom" VerticalAlignment="Top" Width="49" VerticalContentAlignment="Center" Foreground="White" Content="{Binding Value, ElementName=sliderMapZoom}" HorizontalContentAlignment="Center" />
-
 
1005
              <Button x:Name="btnSetHP" Content="{DynamicResource set Home}" Margin="7,400,139,0" Click="btnSetHP_Click" Height="24" VerticalAlignment="Top" />
1562
                    <TextBox x:Name="tbWPStatusDistanceWP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFDBDFE6" FontSize="14" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance next WP" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" Canvas.Left="-5" />
1006
              <Button x:Name="btnClearHP" Content="{DynamicResource clear Home}" Margin="7,424,139,0" Click="btnClearHP_Click" Height="25" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" />
-
 
1007
              <Button x:Name="btnGotoHP" Content="{DynamicResource goto Home}" Margin="92,424,54,0" Click="btnGotoHP_Click" Height="25" VerticalAlignment="Top" />
1563
                    <ed:LineArrow Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="1" Stroke="White" VerticalAlignment="Bottom" Width="49" EndArrow="StealthArrow" ArrowSize="4" Canvas.Top="25" StrokeThickness="2" Canvas.Left="1" />
1008
              <CheckBox x:Name="checkBoxGPXLog" Content="{DynamicResource GPX-Log}" HorizontalAlignment="Left" Margin="8,457,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="{DynamicResource checkBoxGPXLog}" Click="checkBoxGPXLog_Click" />
-
 
1009
              <Rectangle HorizontalAlignment="Left" Width="72" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="128,454,0,0" Height="39" VerticalAlignment="Top">
1564
                </Canvas>
1010
                <Rectangle.Style>
1565
                <Canvas Margin="2,3,257,0" ToolTip="hold time">
1011
                  <Style TargetType="{x:Type Rectangle}">
-
 
1012
                    <Style.Triggers>
-
 
1013
                      <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadGPXLog}" Value="True">
-
 
1014
                        <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1015
                      </DataTrigger>
1566
                    <TextBox x:Name="tbWPStatusHoldTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 s" VerticalAlignment="Top" Width="69" 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" />
1016
                    </Style.Triggers>
-
 
1017
                  </Style>
-
 
1018
                </Rectangle.Style>
-
 
1019
              </Rectangle>
1567
                    <Image x:Name="imageFlightTime1" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="40" Canvas.Top="2.333" />
1020
              <Button x:Name="btnLoadGPXLog" Content="" HorizontalAlignment="Left" Margin="131,455,0,0" Width="67" ToolTip="{DynamicResource btnLoadGPXLog}" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnLoadGPXLog_Click" Height="36" VerticalAlignment="Top">
1568
                </Canvas>
1021
                <Button.Background>
1569
                <Canvas Margin="161,2,114,4" ToolTip="WP height">
1022
                  <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform" />
1570
                    <TextBox x:Name="tbWPStatusHeight" 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" />
1023
                </Button.Background>
-
 
1024
              </Button>
1571
                    <Image x:Name="imageFlightTime_Copy1" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4" />
1025
              <Label x:Name="label4_Copy8" Content="{DynamicResource load GPX-Log}" HorizontalAlignment="Left" Margin="122,488,0,0" VerticalAlignment="Top" Width="86" Foreground="White" />
-
 
1026
              <Button x:Name="btnClearRoute" Content="{DynamicResource clear route}" Margin="127,511,19,0" Height="38" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click" />
1572
                </Canvas>
1027
              <Label Height="43" HorizontalAlignment="Right" Margin="0,239,0,0" x:Name="label2_Copy2" VerticalAlignment="Top" Width="113" VerticalContentAlignment="Center" Foreground="White" Content="{DynamicResource (Rectangle: ALT + left mouse button)}" />
1573
            </Grid>
1028
            </Grid>
1574
            <Grid x:Name="GridWPEdit" Margin="0,36,24,0" Background="#A5000000" Height="617" VerticalAlignment="Top" HorizontalAlignment="Right" Width="339">
-
 
1575
                <Label x:Name="lblWPEditAlt" HorizontalAlignment="Right" Margin="0,52,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderAlt}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1029
          </TabItem>
1576
                    <Label.Style>
-
 
1577
                        <Style TargetType="{x:Type Label}">
-
 
1578
                            <Style.Triggers>
-
 
1579
                                <DataTrigger Binding="{Binding Value, ElementName=SliderAlt}">
-
 
1580
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderAlt}" />
-
 
1581
                                </DataTrigger>
-
 
1582
                            </Style.Triggers>
-
 
1583
                        </Style>
-
 
1584
                    </Label.Style>
-
 
1585
                </Label>
-
 
1586
                <Slider x:Name="SliderAlt" HorizontalAlignment="Right" Height="29" Margin="0,51,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
-
 
1587
                <Label x:Name="label4_Copy41" Content="{DynamicResource Altitude}" HorizontalAlignment="Left" Margin="7,53,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1588
                <Label x:Name="lblWPEditHeading" HorizontalAlignment="Right" Margin="0,96,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderHeading}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1030
          <TabItem Header="{DynamicResource Thresholds}" Height="20" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Left" Width="100">
1589
                    <Label.Style>
-
 
1590
                        <Style TargetType="{x:Type Label}">
-
 
1591
                            <Setter Property="Visibility" Value="Collapsed" />
-
 
1592
                            <Style.Triggers>
-
 
1593
                                <DataTrigger Binding="{Binding Value, ElementName=SliderHeading}">
-
 
1594
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderHeading}" />
-
 
1595
                                </DataTrigger>
-
 
1596
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="2">
-
 
1597
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1598
                                    <Setter Property="ContentStringFormat" Value="{}{0} °" />
-
 
1599
                                </DataTrigger>
-
 
1600
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="1">
-
 
1601
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1602
                                </DataTrigger>
-
 
1603
                            </Style.Triggers>
-
 
1604
                        </Style>
-
 
1605
                    </Label.Style>
-
 
1606
                </Label>
-
 
1607
                <Slider x:Name="SliderHeading" HorizontalAlignment="Right" Height="29" Margin="0,95,59,0" VerticalAlignment="Top" Width="158" FontSize="20" LargeChange="1" SmallChange="1" Value="359" IsSnapToTickEnabled="True">
-
 
1608
                    <Slider.Style>
-
 
1609
                        <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1610
                            <Setter Property="Visibility" Value="Collapsed" />
-
 
1611
                            <Style.Triggers>
-
 
1612
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="1">
-
 
1613
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1614
                                    <Setter Property="Maximum" Value="99" />
-
 
1615
                                    <Setter Property="Minimum" Value="1" />
-
 
1616
                                </DataTrigger>
-
 
1617
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="2">
-
 
1618
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1619
                                    <Setter Property="Maximum" Value="359" />
-
 
1620
                                    <Setter Property="Minimum" Value="0" />
-
 
1621
                                </DataTrigger>
-
 
1622
                            </Style.Triggers>
-
 
1623
                        </Style>
-
 
1624
                    </Slider.Style>
-
 
1625
                </Slider>
-
 
1626
                <Label x:Name="label4_Copy42" Content="{DynamicResource Heading}" HorizontalAlignment="Left" Margin="7,83,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1627
                <ComboBox x:Name="cbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="7,101,0,0" VerticalAlignment="Top" Width="69">
-
 
1628
                    <ComboBoxItem Content="{DynamicResource  - - - }" HorizontalContentAlignment="Center" />
-
 
1629
                    <ComboBoxItem Content="{DynamicResource WP/POI}" />
-
 
1630
                    <ComboBoxItem Content="{DynamicResource degree}" />
-
 
1631
                </ComboBox>
-
 
1632
                <Label x:Name="lblWPEditSpeed" HorizontalAlignment="Right" Margin="0,140,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderSpeed}" ContentStringFormat="{}{0} m/s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1031
            <Grid>
1633
                    <Label.Style>
-
 
1634
                        <Style TargetType="{x:Type Label}">
-
 
1635
                            <Setter Property="Visibility" Value="Collapsed" />
-
 
1636
                            <Style.Triggers>
-
 
1637
                                <DataTrigger Binding="{Binding Value, ElementName=SliderSpeed}">
-
 
1638
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderSpeed}" />
-
 
1639
                                </DataTrigger>
-
 
1640
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditSpeed}" Value="1">
-
 
1641
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1642
                                </DataTrigger>
-
 
1643
                            </Style.Triggers>
-
 
1644
                        </Style>
-
 
1645
                    </Label.Style>
-
 
1646
                </Label>
-
 
1647
                <Slider x:Name="SliderSpeed" HorizontalAlignment="Right" Height="29" Margin="0,139,59,0" VerticalAlignment="Top" Width="158" Maximum="24.7" FontSize="20" Value="24.7" Minimum="0.1" LargeChange="0.1" TickFrequency="0.1" IsSnapToTickEnabled="True">
1032
              <GroupBox x:Name="groupBox2" Header="{DynamicResource Voltage}" HorizontalAlignment="Left" Height="129" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White">
1648
                    <Slider.Style>
-
 
1649
                        <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1650
                            <Setter Property="Visibility" Value="Collapsed" />
-
 
1651
                            <Style.Triggers>
-
 
1652
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditSpeed}" Value="1">
-
 
1653
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1654
                                </DataTrigger>
-
 
1655
                            </Style.Triggers>
-
 
1656
                        </Style>
-
 
1657
                    </Slider.Style>
-
 
1658
                </Slider>
-
 
1659
                <Label x:Name="label4_Copy43" Content="{DynamicResource Speed}" HorizontalAlignment="Left" Margin="7,127,0,0" Width="94" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1660
                <ComboBox x:Name="cbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="7,145,0,0" VerticalAlignment="Top" Width="69">
-
 
1661
                    <ComboBoxItem Content="{DynamicResource MAX}" />
-
 
1662
                    <ComboBoxItem Content="{DynamicResource m/s}" />
-
 
1663
                    <ComboBoxItem Content="{DynamicResource Poti 1}" />
-
 
1664
                    <ComboBoxItem Content="{DynamicResource Poti 2}" />
-
 
1665
                    <ComboBoxItem Content="{DynamicResource Poti 3}" />
-
 
1666
                    <ComboBoxItem Content="{DynamicResource Poti 4}" />
-
 
1667
                    <ComboBoxItem Content="{DynamicResource Poti 5}" />
-
 
1668
                    <ComboBoxItem Content="{DynamicResource Poti 6}" />
-
 
1669
                    <ComboBoxItem Content="{DynamicResource Poti 7}" />
-
 
1670
                    <ComboBoxItem Content="{DynamicResource Poti 8}" />
-
 
1671
                </ComboBox>
-
 
1672
                <Label x:Name="lblWPEditClimbrate" HorizontalAlignment="Right" Margin="0,185,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderClimbrate}" ContentStringFormat="{}{0} m/s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1033
                <Grid Margin="0,0,-6,-4.96">
1673
                    <Label.Style>
-
 
1674
                        <Style TargetType="{x:Type Label}">
-
 
1675
                            <Style.Triggers>
-
 
1676
                                <DataTrigger Binding="{Binding Value, ElementName=SliderClimbrate}">
-
 
1677
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderClimbrate}" />
-
 
1678
                                </DataTrigger>
-
 
1679
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditClimbrate}" Value="0">
-
 
1680
                                    <Setter Property="Visibility" Value="Hidden" />
-
 
1681
                                </DataTrigger>
-
 
1682
                            </Style.Triggers>
-
 
1683
                        </Style>
-
 
1684
                    </Label.Style>
-
 
1685
                </Label>
-
 
1686
                <Slider x:Name="SliderClimbrate" HorizontalAlignment="Right" Height="29" Margin="0,184,59,0" VerticalAlignment="Top" Width="158" Maximum="25.4" FontSize="20" Value="26" Minimum="0.1" LargeChange="0.1" TickFrequency="0.1" IsSnapToTickEnabled="True">
-
 
1687
                    <Slider.Style>
-
 
1688
                        <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1689
                            <Style.Triggers>
-
 
1690
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditClimbrate}" Value="0">
-
 
1691
                                    <Setter Property="Visibility" Value="Hidden" />
-
 
1692
                                </DataTrigger>
-
 
1693
                            </Style.Triggers>
-
 
1694
                        </Style>
-
 
1695
                    </Slider.Style>
-
 
1696
                </Slider>
-
 
1697
                <Label x:Name="label4_Copy44" Content="{DynamicResource Climbrate}" HorizontalAlignment="Left" Margin="7,172,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1698
                <ComboBox x:Name="cbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="7,190,0,0" VerticalAlignment="Top" Width="69">
1034
                  <Slider x:Name="sliderThresholdVoltageCrit" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="33" Margin="10,79,0,-1" VerticalAlignment="Top" Width="177" Maximum="{Binding Value, ElementName=sliderThresholdVoltageWarn}" Minimum="{Binding Minimum, ElementName=sliderThresholdVoltageWarn}" ValueChanged="sliderThresholdVoltageCrit_ValueChanged" TickFrequency="0.1" IsSnapToTickEnabled="True" />
1699
                    <ComboBoxItem Content="{DynamicResource AUTO}" />
-
 
1700
                    <ComboBoxItem Content="{DynamicResource m/s}" />
-
 
1701
                </ComboBox>
-
 
1702
                <Label x:Name="lblWPEditRadius" HorizontalAlignment="Right" Margin="0,227,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderRadius}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1035
                  <Label x:Name="labelThresholdVoltageCrit" HorizontalAlignment="Left" Margin="98,54,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageCrit}">
1703
                    <Label.Style>
1036
                    <Label.Style>
1704
                        <Style TargetType="{x:Type Label}">
1037
                      <Style TargetType="{x:Type Label}">
1705
                            <Style.Triggers>
1038
                        <Style.Triggers>
1706
                                <DataTrigger Binding="{Binding Value, ElementName=SliderRadius}">
1039
                          <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageCrit}">
1707
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderRadius}" />
1040
                            <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageCrit}" />
1708
                                </DataTrigger>
1041
                          </DataTrigger>
1709
                            </Style.Triggers>
1042
                        </Style.Triggers>
1710
                        </Style>
1043
                      </Style>
1711
                    </Label.Style>
1044
                    </Label.Style>
1712
                </Label>
1045
                  </Label>
1713
                <Slider x:Name="SliderRadius" HorizontalAlignment="Right" Height="29" Margin="0,226,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
1046
                  <Label x:Name="labelThresholdVoltageCrit_Copy" Content="{DynamicResource critical}" HorizontalAlignment="Left" Margin="46,53,0,0" VerticalAlignment="Top" Foreground="White" />
1714
                <Label x:Name="label4_Copy45" Content="{DynamicResource Radius}" HorizontalAlignment="Left" Margin="7,228,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
1047
                  <Slider x:Name="sliderThresholdVoltageWarn" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="31" Margin="10,24,0,0" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdVoltageWarn_ValueChanged" Maximum="30" TickFrequency="0.1" IsSnapToTickEnabled="True" />
1715
                <Label x:Name="lblWPEditHoldtime" HorizontalAlignment="Right" Margin="0,269,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderHoldTime}" ContentStringFormat="{}{0} s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1048
                  <Label x:Name="labelThresholdVoltageWarn" HorizontalAlignment="Left" Margin="98,-1,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageWarn}">
1716
                    <Label.Style>
1049
                    <Label.Style>
1717
                        <Style TargetType="{x:Type Label}">
1050
                      <Style TargetType="{x:Type Label}">
1718
                            <Style.Triggers>
1051
                        <Style.Triggers>
1719
                                <DataTrigger Binding="{Binding Value, ElementName=SliderHoldTime}">
1052
                          <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageWarn}">
1720
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderHoldTime}" />
1053
                            <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageWarn}" />
1721
                                </DataTrigger>
1054
                          </DataTrigger>
1722
                            </Style.Triggers>
1055
                        </Style.Triggers>
1723
                        </Style>
1056
                      </Style>
1724
                    </Label.Style>
1057
                    </Label.Style>
1725
                </Label>
1058
                  </Label>
1726
                <Slider x:Name="SliderHoldTime" HorizontalAlignment="Right" Height="29" Margin="0,268,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
1059
                  <Label x:Name="labelThresholdVoltageCrit_Copy2" Content="{DynamicResource warning}" HorizontalAlignment="Left" Margin="46,-2,0,0" VerticalAlignment="Top" Foreground="White" />
-
 
1060
                </Grid>
-
 
1061
              </GroupBox>
1727
                <Label x:Name="label4_Copy46" Content="{DynamicResource Holdtime}" HorizontalAlignment="Left" Margin="7,270,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
1062
              <GroupBox x:Name="groupBox2_Copy1" Header="{DynamicResource Voice output}" HorizontalAlignment="Left" Height="188" Margin="10,302,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White">
1728
                <Label x:Name="lblWPEditAutoTrigger" HorizontalAlignment="Right" Margin="0,311,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderAutoTrigger}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1063
                <Grid Margin="0,0,-6,-3.96">
-
 
1064
                  <CheckBox x:Name="checkBoxSatfixLost" Content="{DynamicResource SatFix lost}" HorizontalAlignment="Left" Height="16" Margin="10,48,0,0" VerticalAlignment="Top" Width="177" Foreground="#FFFFFEFE" Click="checkBoxSatfixLost_Click" />
1729
                    <Label.Style>
1065
                  <CheckBox x:Name="checkBoxMagneticField" Content="{DynamicResource Magnetic field level}" HorizontalAlignment="Left" Height="16" Margin="10,69,0,0" VerticalAlignment="Top" Width="177" Foreground="#FFFFFEFE" Click="checkBoxMagneticField_Click" />
-
 
1066
                  <CheckBox x:Name="checkBoxRClevel" Content="{DynamicResource RC level}" HorizontalAlignment="Left" Height="16" Margin="10,90,0,0" VerticalAlignment="Top" Width="177" Foreground="#FFFFFEFE" Click="checkBoxRClevel_Click" />
1730
                        <Style TargetType="{x:Type Label}">
1067
                  <CheckBox x:Name="checkBoxThresholdDistanceVoice" Content="{DynamicResource Distance HP}" HorizontalAlignment="Left" Height="16" Margin="10,27,0,0" VerticalAlignment="Top" Width="177" Foreground="#FFFFFEFE" Click="checkBoxThresholdDistanceVoice_Click" />
1731
                            <Style.Triggers>
1068
                  <CheckBox x:Name="checkBoxThresholdVoltageVoice" Content="{DynamicResource Battery voltage}" HorizontalAlignment="Left" Height="16" Margin="10,6,0,0" VerticalAlignment="Top" Width="177" Foreground="#FFFFFEFE" Click="checkBoxThresholdVoltageVoice_Click" />
1732
                                <DataTrigger Binding="{Binding Value, ElementName=SliderAutoTrigger}">
1069
                  <CheckBox x:Name="checkBoxBLCtrlTempVoice" Content="{DynamicResource BL-Ctrl temperature}" HorizontalAlignment="Left" Height="16" Margin="10,110,0,0" VerticalAlignment="Top" Width="177" Foreground="#FFFFFEFE" Click="checkBoxBLCtrlTempVoice_Click" />
1733
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderAutoTrigger}" />
1070
                  <ComboBox x:Name="comboBoxVoiceLanguage" HorizontalAlignment="Left" Height="28" Margin="10,136,0,0" VerticalAlignment="Top" Width="147" SelectedIndex="0" HorizontalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxVoiceLanguage_DropDownClosed">
1734
                                </DataTrigger>
1071
                    <ComboBoxItem Content="English" HorizontalAlignment="Left" Width="145" />
1735
                            </Style.Triggers>
1072
                    <ComboBoxItem Content="Deutsch" HorizontalAlignment="Left" Width="145" />
1736
                        </Style>
1073
                  </ComboBox>
1737
                    </Label.Style>
1074
                </Grid>
1738
                </Label>
1075
              </GroupBox>
-
 
1076
              <GroupBox x:Name="grpBox" Header="{DynamicResource Distance HP}" HorizontalAlignment="Left" Height="79" Margin="10,136,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White">
1739
                <Slider x:Name="SliderAutoTrigger" HorizontalAlignment="Right" Height="29" Margin="0,310,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
1077
                <Grid Margin="0,0,-6,-3.96">
1740
                <Label x:Name="label4_Copy47" Content="{DynamicResource Autotrigger}" HorizontalAlignment="Left" Margin="7,312,0,0" Width="69" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
1078
                  <Slider x:Name="sliderThresholdDistanceWarn" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="35" Margin="10,26,0,-1" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdDistanceWarn_ValueChanged" Maximum="1000" IsSnapToTickEnabled="True" Minimum="10" SmallChange="1" Value="100" />
1741
                <Label x:Name="lblWPEditCamAngle" HorizontalAlignment="Right" Margin="0,358,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderCamAngle}" ContentStringFormat="{}{0} °" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1079
                  <Label x:Name="labelThresholdDistanceWarn" HorizontalAlignment="Left" Margin="86,1,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdDistanceWarn}">
1742
                    <Label.Style>
1080
                    <Label.Style>
1743
                        <Style TargetType="{x:Type Label}">
1081
                      <Style TargetType="{x:Type Label}">
1744
                            <Setter Property="Visibility" Value="Hidden" />
-
 
1745
                            <Style.Triggers>
1082
                        <Style.Triggers>
1746
                                <DataTrigger Binding="{Binding Value, ElementName=SlideCamAngle}">
1083
                          <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdDistanceWarn}">
1747
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderCamAngle}" />
1084
                            <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdDistanceWarn}" />
1748
                                </DataTrigger>
-
 
1749
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditCamAngle}" Value="2">
-
 
1750
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1751
                                </DataTrigger>
1085
                          </DataTrigger>
1752
                            </Style.Triggers>
1086
                        </Style.Triggers>
1753
                        </Style>
1087
                      </Style>
1754
                    </Label.Style>
1088
                    </Label.Style>
1755
                </Label>
1089
                  </Label>
1756
                <Slider x:Name="SliderCamAngle" HorizontalAlignment="Right" Height="29" Margin="0,357,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" Minimum="1">
1090
                </Grid>
1757
                    <Slider.Style>
-
 
1758
                        <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1759
                            <Setter Property="Visibility" Value="Hidden" />
-
 
1760
                            <Style.Triggers>
-
 
1761
                                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditCamAngle}" Value="2">
-
 
1762
                                    <Setter Property="Visibility" Value="Visible" />
-
 
1763
                                </DataTrigger>
-
 
1764
                            </Style.Triggers>
-
 
1765
                        </Style>
-
 
1766
                    </Slider.Style>
-
 
1767
                </Slider>
1091
              </GroupBox>
1768
                <Label x:Name="label4_Copy48" Content="{DynamicResource Camera angle}" HorizontalAlignment="Left" Margin="7,345,0,0" Width="81" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
1092
              <GroupBox x:Name="grpBox_Copy" Header="{DynamicResource BL-Ctrl temperature}" HorizontalAlignment="Left" Height="79" Margin="10,218,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White">
1769
                <ComboBox x:Name="cbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="7,365,0,0" VerticalAlignment="Top" Width="69">
-
 
1770
                    <ComboBoxItem Content="{DynamicResource  - - - }" HorizontalContentAlignment="Center" />
-
 
1771
                    <ComboBoxItem Content="{DynamicResource AUTO}" />
1093
                <Grid Margin="0,0,-6,-3.96">
1772
                    <ComboBoxItem Content="{DynamicResource degree}" />
1094
                  <Slider x:Name="sliderThresholdBLCtrlTempWarn" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="35" Margin="10,26,0,-1" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdBLCtrlTempWarn_ValueChanged" Maximum="120" IsSnapToTickEnabled="True" Minimum="10" SmallChange="1" Value="80" />
1773
                </ComboBox>
-
 
1774
                <Label x:Name="lblWPEditOut1" HorizontalAlignment="Right" Margin="0,398,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderOut1}" ContentStringFormat="{}{0} ms" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
1095
                  <Label x:Name="labelThresholdBLCtrlTempWarn" HorizontalAlignment="Left" Margin="86,1,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdBLCtrlTempWarn}">
1775
                    <Label.Style>
1096
                    <Label.Style>
1776
                        <Style TargetType="{x:Type Label}">
1097
                      <Style TargetType="{x:Type Label}">
1777
                            <Style.Triggers>
1098
                        <Style.Triggers>
1778
                                <DataTrigger Binding="{Binding Value, ElementName=SliderOut1}">
1099
                          <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdBLCtrlTempWarn}">
1779
                                    <Setter Property="Content" Value="{Binding Value, ElementName=SliderOut1}" />
1100
                            <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdBLCtrlTempWarn}" />
1780
                                </DataTrigger>
1101
                          </DataTrigger>
1781
                            </Style.Triggers>
1102
                        </Style.Triggers>
1782
                        </Style>
1103
                      </Style>
1783
                    </Label.Style>
1104
                    </Label.Style>
1784
                </Label>
1105
                  </Label>
1785
                <Slider x:Name="SliderOut1" HorizontalAlignment="Right" Height="29" Margin="0,397,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
-
 
1786
                <Label x:Name="label4_Copy49" Content="{DynamicResource OUT1 timer}" HorizontalAlignment="Left" Margin="7,399,0,0" Width="69" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1787
                <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="6,18,0,0" VerticalAlignment="Top" Width="70">
-
 
1788
                    <ComboBoxItem Content="{DynamicResource WP}" />
-
 
1789
                    <ComboBoxItem Content="{DynamicResource POI}" />
-
 
1790
                    <ComboBoxItem Content="{DynamicResource Failsafe}" />
-
 
1791
                    <ComboBoxItem Content="{DynamicResource Landing}" />
-
 
1792
                </ComboBox>
-
 
1793
                <Label x:Name="label4a" Content="{DynamicResource Type}" HorizontalAlignment="Left" Margin="7,0,0,0" Width="39" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1794
                <Label x:Name="label4b" Content="{DynamicResource Prefix}" HorizontalAlignment="Left" Margin="82,0,0,0" Width="35" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1795
                <TextBox x:Name="tbWPEditPrefix" HorizontalAlignment="Left" Height="22" Margin="82,18,0,0" VerticalAlignment="Top" Width="29" IsUndoEnabled="False" MaxLines="1" MaxLength="1" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" IsTabStop="False" />
-
 
1796
                <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="7,0,0,131" Height="31" VerticalAlignment="Bottom">
-
 
1797
                    <Rectangle.Style>
-
 
1798
                        <Style TargetType="{x:Type Rectangle}">
-
 
1799
                            <Style.Triggers>
-
 
1800
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True">
-
 
1801
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1802
                                </DataTrigger>
-
 
1803
                            </Style.Triggers>
-
 
1804
                        </Style>
-
 
1805
                    </Rectangle.Style>
-
 
1806
                </Rectangle>
-
 
1807
                <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="26" Margin="9,0,0,133" VerticalAlignment="Bottom" Width="71" ToolTip="save the changes made to the list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave_Click">
-
 
1808
                    <Button.Background>
-
 
1809
                        <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform" />
-
 
1810
                    </Button.Background>
-
 
1811
                </Button>
-
 
1812
                <Label x:Name="label4_Copy27" Content="{DynamicResource save changes}" HorizontalAlignment="Left" Margin="5,0,0,162" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="39" VerticalContentAlignment="Bottom" />
-
 
1813
                <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="102,0,0,131" Height="31" VerticalAlignment="Bottom" ToolTip="add WP to list">
-
 
1814
                    <Rectangle.Style>
-
 
1815
                        <Style TargetType="{x:Type Rectangle}">
-
 
1816
                            <Style.Triggers>
-
 
1817
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPAdd}" Value="True">
-
 
1818
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1819
                                </DataTrigger>
-
 
1820
                            </Style.Triggers>
-
 
1821
                        </Style>
-
 
1822
                    </Rectangle.Style>
-
 
1823
                </Rectangle>
-
 
1824
                <Button x:Name="btnEditWPAdd" HorizontalAlignment="Left" Height="29" Margin="102,0,0,132" VerticalAlignment="Bottom" Width="74" ToolTip="add WP to list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPAdd_Click" RenderTransformOrigin="0.5,0.5" Background="{x:Null}">
-
 
1825
                    <Button.RenderTransform>
-
 
1826
                        <TransformGroup>
-
 
1827
                            <ScaleTransform />
-
 
1828
                            <SkewTransform />
-
 
1829
                            <RotateTransform Angle="0.013" />
-
 
1830
                            <TranslateTransform />
-
 
1831
                        </TransformGroup>
-
 
1832
                    </Button.RenderTransform>
-
 
1833
                    <Image x:Name="image" Height="23" Width="26" Source="Images/Delete.png" RenderTransformOrigin="0.5,0.5">
-
 
1834
                        <Image.RenderTransform>
-
 
1835
                            <TransformGroup>
-
 
1836
                                <ScaleTransform />
-
 
1837
                                <SkewTransform />
-
 
1838
                                <RotateTransform Angle="45" />
-
 
1839
                                <TranslateTransform />
-
 
1840
                            </TransformGroup>
-
 
1841
                        </Image.RenderTransform>
-
 
1842
                    </Image>
-
 
1843
                </Button>
-
 
1844
                <Label x:Name="label4_Copy30" Content="{DynamicResource add WP}" HorizontalAlignment="Left" Margin="100,0,0,159" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26" />
-
 
1845
                <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="196,0,0,131" Height="31" VerticalAlignment="Bottom">
-
 
1846
                    <Rectangle.Style>
-
 
1847
                        <Style TargetType="{x:Type Rectangle}">
-
 
1848
                            <Style.Triggers>
-
 
1849
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPDel}" Value="True">
-
 
1850
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1851
                                </DataTrigger>
-
 
1852
                            </Style.Triggers>
-
 
1853
                        </Style>
-
 
1854
                    </Rectangle.Style>
-
 
1855
                </Rectangle>
-
 
1856
                <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="25" Margin="200,0,0,134" VerticalAlignment="Bottom" Width="68" ToolTip="delete WP from list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel_Click">
-
 
1857
                    <Button.Background>
-
 
1858
                        <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform" />
-
 
1859
                    </Button.Background>
-
 
1860
                </Button>
-
 
1861
                <Label x:Name="label4_Copy40" Content="{DynamicResource delete WP}" HorizontalAlignment="Left" Margin="196,0,0,159" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26" />
-
 
1862
                <Label x:Name="lblWPEditIndex" Content="##" HorizontalAlignment="Left" Height="23" Margin="111,17,0,0" VerticalAlignment="Top" Width="29" Foreground="White" VerticalContentAlignment="Center" />
-
 
1863
                <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="284,0,0,124" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1864
                    <Rectangle.Style>
-
 
1865
                        <Style TargetType="{x:Type Rectangle}">
-
 
1866
                            <Style.Triggers>
-
 
1867
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveUp}" Value="True">
-
 
1868
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1869
                                </DataTrigger>
-
 
1870
                            </Style.Triggers>
-
 
1871
                        </Style>
-
 
1872
                    </Rectangle.Style>
-
 
1873
                </Rectangle>
-
 
1874
                <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="294,0,0,138" HorizontalAlignment="Left" VerticalAlignment="Bottom">
-
 
1875
                    <ed:LineArrow.RenderTransform>
-
 
1876
                        <TransformGroup>
-
 
1877
                            <ScaleTransform />
-
 
1878
                            <SkewTransform />
-
 
1879
                            <RotateTransform Angle="-90" />
-
 
1880
                            <TranslateTransform />
-
 
1881
                        </TransformGroup>
-
 
1882
                    </ed:LineArrow.RenderTransform>
-
 
1883
                </ed:LineArrow>
-
 
1884
                <Button x:Name="btnWPEditmoveUp" HorizontalAlignment="Left" Height="34" Margin="284,0,0,124" VerticalAlignment="Bottom" Width="44" ToolTip="move WP up in list (index -1)" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditmoveUp_Click" Padding="14,1" Background="#00000000" />
-
 
1885
                <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="284,0,0,87" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1886
                    <Rectangle.Style>
-
 
1887
                        <Style TargetType="{x:Type Rectangle}">
-
 
1888
                            <Style.Triggers>
-
 
1889
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveDown}" Value="True">
-
 
1890
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1891
                                </DataTrigger>
-
 
1892
                            </Style.Triggers>
-
 
1893
                        </Style>
-
 
1894
                    </Rectangle.Style>
-
 
1895
                </Rectangle>
-
 
1896
                <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="26" RenderTransformOrigin="0.5,0.5" Margin="293,0,0,106" VerticalAlignment="Bottom" HorizontalAlignment="Left">
-
 
1897
                    <ed:LineArrow.RenderTransform>
-
 
1898
                        <TransformGroup>
-
 
1899
                            <ScaleTransform />
-
 
1900
                            <SkewTransform />
-
 
1901
                            <RotateTransform Angle="90" />
-
 
1902
                            <TranslateTransform />
-
 
1903
                        </TransformGroup>
-
 
1904
                    </ed:LineArrow.RenderTransform>
-
 
1905
                </ed:LineArrow>
-
 
1906
                <Button x:Name="btnWPEditmoveDown" HorizontalAlignment="Left" Margin="284,0,0,87" Width="44" ToolTip="move WP down in list (index +1)" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditmoveDown_Click" Padding="14,1" Background="#00000000" Height="34" VerticalAlignment="Bottom" />
-
 
1907
                <Rectangle HorizontalAlignment="Left" Width="78" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="117,0,0,76" Height="31" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1908
                    <Rectangle.Style>
-
 
1909
                        <Style TargetType="{x:Type Rectangle}">
-
 
1910
                            <Style.Triggers>
-
 
1911
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True">
-
 
1912
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1913
                                </DataTrigger>
-
 
1914
                            </Style.Triggers>
-
 
1915
                        </Style>
-
 
1916
                    </Rectangle.Style>
-
 
1917
                </Rectangle>
-
 
1918
                <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="28" Margin="118,0,0,77" VerticalAlignment="Bottom" Width="77" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click">
-
 
1919
                    <Button.Background>
-
 
1920
                        <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform" />
-
 
1921
                    </Button.Background>
-
 
1922
                </Button>
-
 
1923
                <Label x:Name="label4_Copy29" Content="{DynamicResource set as active WP}" HorizontalAlignment="Left" Margin="114,0,0,104" VerticalAlignment="Bottom" Width="114" Foreground="White" Height="26" />
-
 
1924
                <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="8,0,0,76" Height="31" VerticalAlignment="Bottom">
-
 
1925
                    <Rectangle.Style>
-
 
1926
                        <Style TargetType="{x:Type Rectangle}">
-
 
1927
                            <Style.Triggers>
-
 
1928
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSendToCopter}" Value="True">
-
 
1929
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1930
                                </DataTrigger>
-
 
1931
                            </Style.Triggers>
-
 
1932
                        </Style>
-
 
1933
                    </Rectangle.Style>
-
 
1934
                </Rectangle>
-
 
1935
                <Button x:Name="btnEditWPSendToCopter" Content="" HorizontalAlignment="Left" Height="28" Margin="8,0,0,77" VerticalAlignment="Bottom" Width="75" ToolTip="send selected WP to copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSendToCopter_Click">
-
 
1936
                    <Button.Background>
-
 
1937
                        <ImageBrush ImageSource="Images/SendToCopter.png" Stretch="Uniform" />
-
 
1938
                    </Button.Background>
-
 
1939
                </Button>
-
 
1940
                <Label x:Name="label4_Copy34" Content="{DynamicResource send to copter}" HorizontalAlignment="Left" Margin="2,0,0,104" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26" />
-
 
1941
                <Label x:Name="label4_Copy16" Content="{DynamicResource Latitude}" HorizontalAlignment="Left" Margin="143,0,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1942
                <TextBox x:Name="tbWPEditLat" HorizontalAlignment="Left" Height="22" Margin="143,18,0,0" VerticalAlignment="Top" Width="88" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True" />
1106
                </Grid>
1943
                <Label x:Name="label4_Copy17" Content="{DynamicResource Longitude}" HorizontalAlignment="Left" Margin="236,0,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1944
                <TextBox x:Name="tbWPEditLon" HorizontalAlignment="Left" Height="22" Margin="236,18,0,0" VerticalAlignment="Top" Width="88" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True" />
1107
              </GroupBox>
1945
                <Rectangle HorizontalAlignment="Left" Width="86" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="11,0,0,19" Height="34" VerticalAlignment="Bottom">
-
 
1946
                    <Rectangle.Style>
-
 
1947
                        <Style TargetType="{x:Type Rectangle}">
-
 
1948
                            <Style.Triggers>
-
 
1949
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True">
-
 
1950
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1951
                                </DataTrigger>
-
 
1952
                            </Style.Triggers>
-
 
1953
                        </Style>
-
 
1954
                    </Rectangle.Style>
-
 
1955
                </Rectangle>
-
 
1956
                <Button x:Name="btnWPEditAddCurrentPos" Content="" HorizontalAlignment="Left" Height="32" Margin="12,0,0,20" VerticalAlignment="Bottom" Width="85" ToolTip="add current copter position to WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPAddCurrentPos_Click">
-
 
1957
                    <Button.Background>
-
 
1958
                        <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform" />
-
 
1959
                    </Button.Background>
-
 
1960
                </Button>
-
 
1961
                <Label x:Name="label4_Copy28" Content="{DynamicResource add current Pos}" HorizontalAlignment="Left" Margin="8,0,0,50" VerticalAlignment="Bottom" Width="121" Foreground="White" Height="26" />
-
 
1962
                <CheckBox x:Name="checkBoxWPAddUseCopterHeight" Content="{DynamicResource use copter height}" HorizontalAlignment="Left" Height="16" Margin="108,564,0,0" VerticalAlignment="Top" Width="138" Background="White" Foreground="White" IsChecked="True" Click="checkBoxWPAddUseCopterHeight_Click" />
-
 
1963
                <CheckBox x:Name="checkBoxWPAddUseCopterHeading" Content="{DynamicResource use copter heading}" HorizontalAlignment="Left" Height="35" Margin="108,582,0,0" VerticalAlignment="Top" Width="166" Background="White" Foreground="White" IsChecked="True" Click="checkBoxWPAddUseCopterHeading_Click" />
-
 
1964
                <Rectangle HorizontalAlignment="Left" Width="81" Stroke="White" StrokeThickness="0.5" Margin="254,0,0,19" Height="38" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1965
                    <Rectangle.Style>
-
 
1966
                        <Style TargetType="{x:Type Rectangle}">
-
 
1967
                            <Style.Triggers>
-
 
1968
                                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveDefault}" Value="True">
-
 
1969
                                    <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1970
                                </DataTrigger>
-
 
1971
                            </Style.Triggers>
-
 
1972
                        </Style>
-
 
1973
                    </Rectangle.Style>
-
 
1974
                </Rectangle>
-
 
1975
                <Button x:Name="btnSaveDefault" HorizontalAlignment="Left" Height="37" Margin="254,0,0,20" VerticalAlignment="Bottom" Width="81" ToolTip="use these values as default for new waypoints" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnSaveDefault_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
1976
                    <Label x:Name="label7" Content="{DynamicResource save as default}" Height="33" Width="85" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="#19CBB8B8" />
-
 
1977
                </Button>
-
 
1978
            </Grid>
1108
            </Grid>
2135
            </Grid>
1219
            </Grid>
-
 
1220
          </TabItem>
-
 
1221
        </TabControl>
-
 
1222
      </Grid>
-
 
1223
      <Border BorderThickness="0,2,0,0" Height="2" Margin="0,34,0,0" VerticalAlignment="Top" Visibility="Hidden">
-
 
1224
        <Border.BorderBrush>
-
 
1225
          <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
-
 
1226
            <GradientStop Color="#FF9DCAF9" Offset="0" />
-
 
1227
            <GradientStop Color="#FF004385" Offset="1" />
-
 
1228
          </LinearGradientBrush>
-
 
1229
        </Border.BorderBrush>
-
 
1230
      </Border>
-
 
1231
      <ArtificialHorizon:ArtificialHorizon x:Name="ArtHor" Margin="0,0,-21,-28" Height="143" Width="177" HorizontalAlignment="Right" VerticalAlignment="Bottom" Visibility="{Binding IsChecked, Converter={StaticResource BooleanToVisibility}, ElementName=chkBoxShowHorizon}">
-
 
1232
        <ArtificialHorizon:ArtificialHorizon.RenderTransform>
-
 
1233
          <ScaleTransform CenterX="136" CenterY="117" ScaleX="{Binding Value, ElementName=UIScaleHorizonSlider}" ScaleY="{Binding Value, ElementName=UIScaleHorizonSlider}" />
-
 
1234
        </ArtificialHorizon:ArtificialHorizon.RenderTransform>
-
 
1235
      </ArtificialHorizon:ArtificialHorizon>
-
 
1236
      <Grid x:Name="GridMotors" Margin="0,38,25,0" Background="#66000000" Height="285" VerticalAlignment="Top" HorizontalAlignment="Right" Width="132" Visibility="Hidden">
-
 
1237
        <Grid.LayoutTransform>
-
 
1238
          <ScaleTransform CenterX="0" CenterY="0" ScaleX="{Binding Value, ElementName=UIScaleMotorsSlider}" ScaleY="{Binding Value, ElementName=UIScaleMotorsSlider}" />
-
 
1239
        </Grid.LayoutTransform>
2136
            <Canvas x:Name="canvasAddPoint" HorizontalAlignment="Left" Height="196" Margin="470,180,0,0" VerticalAlignment="Top" Width="137" Background="#7F000000" Visibility="Collapsed" MouseLeave="canvasAddPoint_MouseLeave" LostMouseCapture="canvasAddPoint_MouseLeave">
1240
        <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}" />
2137
                <Button x:Name="btnCmAddWP" Content="{DynamicResource add waypoint}" Height="40" Canvas.Left="10" Canvas.Top="10" Width="117" Click="btnCmAddWP_Click" />
1241
        <!--<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"/>-->
-
 
1242
      </Grid>
-
 
1243
      <Grid x:Name="GridOSD" Margin="0,38,330,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden">
-
 
1244
        <Grid.LayoutTransform>
-
 
1245
          <ScaleTransform CenterX="0" CenterY="0" ScaleX="{Binding Value, ElementName=UIScaleOSDSlider}" ScaleY="{Binding Value, ElementName=UIScaleOSDSlider}" />
-
 
1246
        </Grid.LayoutTransform>
-
 
1247
        <RichTextBox x:Name="rtfOSD" Height="83" VerticalAlignment="Top" HorizontalAlignment="Left" Width="190" Margin="10,5,0,0" FontFamily="Consolas" FontSize="16" />
-
 
1248
        <ComboBox x:Name="cbOSD" HorizontalAlignment="Left" Margin="203,96,0,0" VerticalAlignment="Top" Width="47" Height="27" DropDownClosed="cbOSD_DropDownClosing" />
-
 
1249
        <Button x:Name="btnOSDBackward" Content="Å" HorizontalAlignment="Left" Height="34" Margin="203,44,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDBackward_Click" />
-
 
1250
        <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click" />
-
 
1251
        <Label x:Name="label_Copy7" Content="{DynamicResource Page}" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47" />
-
 
1252
        <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click" />
-
 
1253
        <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click" />
-
 
1254
      </Grid>
-
 
1255
      <Label x:Name="lblSimu" Content="{DynamicResource Simulation active}" Height="22" Margin="0,36,24,0" VerticalAlignment="Top" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Padding="0" FontFamily="Arial" BorderBrush="#FFF9A40F" BorderThickness="2" Foreground="Black" HorizontalAlignment="Right" Width="135" Visibility="Collapsed">
-
 
1256
        <Label.Background>
-
 
1257
          <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
-
 
1258
            <GradientStop Color="#FFFFD8C6" />
-
 
1259
            <GradientStop Color="#FFFFD29B" Offset="0.18" />
-
 
1260
            <GradientStop Color="#FFFFD07F" Offset="0.391" />
-
 
1261
            <GradientStop Color="#FFFFA261" Offset="1" />
-
 
1262
          </LinearGradientBrush>
-
 
1263
        </Label.Background>
-
 
1264
      </Label>
-
 
1265
      <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="435" VerticalAlignment="Top">
-
 
1266
        <Label x:Name="label4" Content="{DynamicResource points}" HorizontalAlignment="Right" Margin="0,480,51,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="19" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" Visibility="Hidden" />
-
 
1267
        <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,482,19,0" VerticalAlignment="Top" Width="26" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13" Visibility="Hidden" />
-
 
1268
        <Label x:Name="label4_Copy" Content="{DynamicResource WP Index}" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden" />
-
 
1269
        <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden" />
-
 
1270
        <Border Margin="7,365,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="590" Height="67" VerticalAlignment="Top">
-
 
1271
          <Grid Margin="0,0,-1,4">
-
 
1272
            <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="104,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1273
              <Rectangle.Style>
-
 
1274
                <Style TargetType="{x:Type Rectangle}">
-
 
1275
                  <Style.Triggers>
-
 
1276
                    <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True">
-
 
1277
                      <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1278
                    </DataTrigger>
-
 
1279
                  </Style.Triggers>
-
 
1280
                </Style>
-
 
1281
              </Rectangle.Style>
-
 
1282
            </Rectangle>
-
 
1283
            <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="105,0,0,0" VerticalAlignment="Bottom" Width="92" Click="btnGetWP_Click" ToolTip="{DynamicResource btnGetWPList}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}">
-
 
1284
              <Button.Background>
-
 
1285
                <ImageBrush ImageSource="Images/FromCopterToPc1.png" Stretch="Uniform" />
-
 
1286
              </Button.Background>
-
 
1287
            </Button>
-
 
1288
            <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="5,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1289
              <Rectangle.Style>
-
 
1290
                <Style TargetType="{x:Type Rectangle}">
-
 
1291
                  <Style.Triggers>
-
 
1292
                    <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True">
-
 
1293
                      <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1294
                    </DataTrigger>
-
 
1295
                  </Style.Triggers>
-
 
1296
                </Style>
-
 
1297
              </Rectangle.Style>
-
 
1298
            </Rectangle>
2138
                <Button x:Name="btnCmAddLanding" Content="{DynamicResource add landingpoint}" Height="40" Canvas.Left="10" Canvas.Top="55" Width="117" Click="btnCmAddLanding_Click" />
1299
            <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="6,0,0,0" VerticalAlignment="Bottom" Width="92" ToolTip="{DynamicResource btnSendWPList}" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
-
 
1300
              <Button.Background>
-
 
1301
                <ImageBrush ImageSource="Images/WPToCopter1.png" Stretch="Uniform" />
-
 
1302
              </Button.Background>
-
 
1303
            </Button>
-
 
1304
            <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="224,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1305
              <Rectangle.Style>
-
 
1306
                <Style TargetType="{x:Type Rectangle}">
-
 
1307
                  <Style.Triggers>
-
 
1308
                    <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True">
-
 
1309
                      <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1310
                    </DataTrigger>
-
 
1311
                  </Style.Triggers>
-
 
1312
                </Style>
-
 
1313
              </Rectangle.Style>
-
 
1314
            </Rectangle>
2139
                <Button x:Name="btnCmAddFailsave" Content="{DynamicResource add failsavepoint}" Height="40" Canvas.Left="10" Canvas.Top="100" Width="117" Click="btnCmAddFailsave_Click" />
1315
            <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="224,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="{DynamicResource btnLoadWPLFile}" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
-
 
1316
              <Button.Background>
-
 
1317
                <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform" />
-
 
1318
              </Button.Background>
-
 
1319
            </Button>
-
 
1320
            <Label x:Name="label4_Copy5" Content="{DynamicResource receive from copter}" HorizontalAlignment="Left" Margin="98,0,0,36" VerticalAlignment="Bottom" Width="133" Foreground="White" Height="26" />
-
 
1321
            <Label x:Name="label4_Copy6" Content="{DynamicResource send to copter}" HorizontalAlignment="Left" Margin="-1,0,0,36" VerticalAlignment="Bottom" Width="112" Foreground="White" Height="26" />
-
 
1322
            <Label x:Name="label4_Copy7" Content="{DynamicResource load file}" HorizontalAlignment="Left" Margin="219,0,0,35" VerticalAlignment="Bottom" Width="75" Foreground="White" />
-
 
1323
            <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="387,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1324
              <Rectangle.Style>
-
 
1325
                <Style TargetType="{x:Type Rectangle}">
-
 
1326
                  <Style.Triggers>
-
 
1327
                    <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearWPList}" Value="True">
-
 
1328
                      <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1329
                    </DataTrigger>
-
 
1330
                  </Style.Triggers>
-
 
1331
                </Style>
-
 
1332
              </Rectangle.Style>
-
 
1333
            </Rectangle>
2140
                <Button x:Name="btnCmAddPOI" Content="{DynamicResource add POI}" Height="40" Canvas.Left="10" Canvas.Top="146" Width="117" Click="btnCmAddPOI_Click" />
1334
            <Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="387,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="{DynamicResource btnClearWPList}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click">
-
 
1335
              <Button.Background>
-
 
1336
                <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform" />
-
 
1337
              </Button.Background>
-
 
1338
            </Button>
-
 
1339
            <Label x:Name="label4_Copy11" Content="{DynamicResource clear local list}" HorizontalAlignment="Left" Margin="382,0,0,35" VerticalAlignment="Bottom" Width="118" Foreground="White" />
-
 
1340
            <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="486,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1341
              <Rectangle.Style>
-
 
1342
                <Style TargetType="{x:Type Rectangle}">
-
 
1343
                  <Style.Triggers>
-
 
1344
                    <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearCopterList}" Value="True">
-
 
1345
                      <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1346
                    </DataTrigger>
-
 
1347
                  </Style.Triggers>
-
 
1348
                </Style>
-
 
1349
              </Rectangle.Style>
-
 
1350
            </Rectangle>
2141
            </Canvas>
1351
            <Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="488,0,0,1" VerticalAlignment="Bottom" Width="92" ToolTip="{DynamicResource btnClearCopterList}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearCopterList_Click">
-
 
1352
              <Button.Background>
-
 
1353
                <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform" />
-
 
1354
              </Button.Background>
-
 
1355
            </Button>
-
 
1356
            <Label x:Name="label4_Copy12" Content="{DynamicResource clear copter list}" HorizontalAlignment="Left" Margin="480,0,0,35" VerticalAlignment="Bottom" Width="110" Foreground="White" Height="26" />
-
 
1357
            <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="296,0,0,-1" Height="40" VerticalAlignment="Bottom">
-
 
1358
              <Rectangle.Style>
-
 
1359
                <Style TargetType="{x:Type Rectangle}">
-
 
1360
                  <Style.Triggers>
-
 
1361
                    <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True">
-
 
1362
                      <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1363
                    </DataTrigger>
-
 
1364
                  </Style.Triggers>
-
 
1365
                </Style>
-
 
1366
              </Rectangle.Style>
-
 
1367
            </Rectangle>
2142
            <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>-->
1368
            <Button x:Name="btnSaveWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="296,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="{DynamicResource btnSaveWPLFile}" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnSaveWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
-
 
1369
              <Button.Background>
-
 
1370
                <ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform" />
-
 
1371
              </Button.Background>
-
 
1372
            </Button>
-
 
1373
            <Label x:Name="label4_Copy13" Content="{DynamicResource save file}" HorizontalAlignment="Left" Margin="290,0,0,35" VerticalAlignment="Bottom" Width="92" Foreground="White" />
-
 
1374
          </Grid>
-
 
1375
        </Border>
2143
        </Grid>
1376
        <DataGrid x:Name="dgvWP" Margin="10,5,10,84" Background="{x:Null}" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0" AutoGenerateColumns="False" MouseUp="dgvWP_MouseUp" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False" MouseDoubleClick="dgvWP_MouseDoubleClick" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" IsReadOnly="True">
-
 
1377
          <DataGrid.Columns>
-
 
1378
            <DataGridTextColumn x:Name="dataGridTextColumn" Header="Index" Binding="{Binding Index}" />
-
 
1379
            <DataGridTextColumn Header="Type" Binding="{Binding Type, ConverterParameter=Type, Converter={StaticResource wpConvert}}" />
-
 
1380
            <DataGridTextColumn Header="Name" Binding="{Binding Name}" />
-
 
1381
            <DataGridTextColumn Header="Latitude" Binding="{Binding Latitude, ConverterParameter=Latitude, Converter={StaticResource wpConvert}}" />
-
 
1382
            <DataGridTextColumn Header="Longitude" Binding="{Binding Longitude, ConverterParameter=Longitude, Converter={StaticResource wpConvert}}" />
-
 
1383
            <DataGridTextColumn Header="Altitude" Binding="{Binding Altitude, ConverterParameter=Altitude, Converter={StaticResource wpConvert}}" />
-
 
1384
            <DataGridTextColumn Header="Heading" Binding="{Binding Heading, ConverterParameter=Heading, Converter={StaticResource wpConvert}}" />
-
 
1385
            <DataGridTextColumn Header="Speed" Binding="{Binding Speed, ConverterParameter=Speed, Converter={StaticResource wpConvert}}" />
-
 
1386
            <DataGridTextColumn Header="ClimbRate" Binding="{Binding ClimbRate, ConverterParameter=ClimbRate, Converter={StaticResource wpConvert}}" />
-
 
1387
            <DataGridTextColumn Header="Radius" Binding="{Binding Radius, ConverterParameter=Radius, Converter={StaticResource wpConvert}}" />
-
 
1388
            <DataGridTextColumn Header="HoldTime" Binding="{Binding HoldTime, ConverterParameter=DelayTime, Converter={StaticResource wpConvert}}" />
-
 
1389
            <DataGridTextColumn Header="AutoTrigger" Binding="{Binding AutoTrigger, ConverterParameter=AutoTrigger, Converter={StaticResource wpConvert}}" />
-
 
1390
            <DataGridTextColumn Header="CamAngle" Binding="{Binding CamAngle, ConverterParameter=CamAngle, Converter={StaticResource wpConvert}}" />
-
 
1391
            <DataGridTextColumn Header="Out1Timer" Binding="{Binding Out1Timer}" />
-
 
1392
          </DataGrid.Columns>
-
 
1393
        </DataGrid>
-
 
1394
        <CheckBox x:Name="checkBoxShowWPRoute" Content="{DynamicResource show route}" HorizontalAlignment="Right" Height="22" Margin="0,361,175,0" VerticalAlignment="Top" Width="110" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click" />
-
 
1395
        <Label x:Name="label4_Copy9" Content="{DynamicResource total distance}" HorizontalAlignment="Right" Margin="0,356,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Padding="0" Height="18" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" FontSize="13" />
-
 
1396
        <Label x:Name="lblWPRouteDistance" Content="{DynamicResource 0 m}" HorizontalAlignment="Right" Margin="0,356,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13" />
-
 
1397
        <Label x:Name="label4_Copy14" Content="/" HorizontalAlignment="Right" Margin="0,411,28,0" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
-
 
1398
        <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,414,1,0" VerticalAlignment="Top" Width="25" Foreground="White" Padding="0" Height="16" FontSize="13" />
-
 
1399
        <Label x:Name="label4_Copy15" Content="{DynamicResource active WP}" HorizontalAlignment="Right" Margin="0,411,60,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
-
 
1400
        <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,414,35,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13" />
-
 
1401
        <Rectangle x:Name="rectSimulate" HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="624,0,0,10" Height="37" VerticalAlignment="Bottom" Visibility="Collapsed">
-
 
1402
          <Rectangle.Fill>
-
 
1403
            <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
-
 
1404
              <GradientStop Color="#FF9DFFAA" />
-
 
1405
              <GradientStop Color="#FF5DE094" Offset="0.236" />
-
 
1406
              <GradientStop Color="#FF5DD6A0" Offset="0.39" />
-
 
1407
              <GradientStop Color="#FF4FCF8F" Offset="1" />
-
 
1408
            </LinearGradientBrush>
-
 
1409
          </Rectangle.Fill>
-
 
1410
        </Rectangle>
-
 
1411
        <Rectangle HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="602,389,0,0" Height="37" VerticalAlignment="Top">
-
 
1412
          <Rectangle.Style>
-
 
1413
            <Style TargetType="{x:Type Rectangle}">
-
 
1414
              <Style.Triggers>
-
 
1415
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPSimulateStart}" Value="True">
-
 
1416
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1417
                </DataTrigger>
-
 
1418
              </Style.Triggers>
-
 
1419
            </Style>
-
 
1420
          </Rectangle.Style>
-
 
1421
        </Rectangle>
-
 
1422
        <Button x:Name="btnWPSimulateStart" Content="" HorizontalAlignment="Left" Height="33" Margin="602,391,0,0" VerticalAlignment="Top" Width="58" ToolTip="{DynamicResource btnWPSimulateStart}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPSimulateStart_Click">
-
 
1423
          <Button.Background>
-
 
1424
            <ImageBrush ImageSource="Images/Test.png" Stretch="Uniform" />
-
 
1425
          </Button.Background>
-
 
1426
        </Button>
-
 
1427
        <Label x:Name="label4_Copy32" Content="{DynamicResource Simulation}" HorizontalAlignment="Left" Margin="597,367,0,0" VerticalAlignment="Top" Width="74" Foreground="White" Height="26" />
-
 
1428
        <Label x:Name="label4_Copy35" Content="{DynamicResource distance next WP}" HorizontalAlignment="Center" Margin="784,373,51,0" VerticalAlignment="Top" Width="126" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
2144
        <Label x:Name="labelSwitchToNavi" Content="{DynamicResource SwitchNC}" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Visibility="Collapsed">
1429
        <Label x:Name="lblWPRouteDistanceWP" Content="{DynamicResource 0 m}" HorizontalAlignment="Right" Margin="0,375,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13" />
-
 
1430
        <Label x:Name="label4_Copy36" Content="{DynamicResource hold time}" HorizontalAlignment="Right" Margin="0,392,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13" />
-
 
1431
        <Label x:Name="lblWPHoldTime" Content="{DynamicResource 0 s}" HorizontalAlignment="Right" Margin="0,394,10,0" VerticalAlignment="Top" Width="36" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13" />
-
 
1432
        <CheckBox x:Name="checkBoxShowWPStatus" Content="{DynamicResource show statusbar}" HorizontalAlignment="Right" Height="22" Margin="0,379,160,0" VerticalAlignment="Top" Width="125" Foreground="#FFFFFEFE" Click="checkBoxShowWPStatus_Click" />
-
 
1433
        <CheckBox x:Name="checkBoxShowWPMaxRange" Content="{DynamicResource show max range}" HorizontalAlignment="Right" Height="22" Margin="0,397,133,0" VerticalAlignment="Top" Width="152" Foreground="#FFFFFEFE" Click="checkBoxShowWPMaxRange_click" />
-
 
1434
        <CheckBox x:Name="checkBoxAutoShowWPEdit" Content="{DynamicResource auto show edit window}" HorizontalAlignment="Right" Height="22" Margin="0,415,133,-2" VerticalAlignment="Top" Width="152" Foreground="#FFFFFEFE" Click="checkBoxAutoShowWPEdit_Click" ToolTip="{DynamicResource checkBoxAutoShowWPEdit}" />
-
 
1435
      </Grid>
-
 
1436
      <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23">
-
 
1437
        <Rectangle x:Name="rectMotorTempWarn" Fill="#00FF0000" HorizontalAlignment="Left" Height="23" Margin="0,8,0,0" VerticalAlignment="Top" Width="23" />
2145
            <Label.Background>
1438
        <Label x:Name="labelMotordata" Content="{DynamicResource 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">
-
 
1439
          <Label.RenderTransform>
-
 
1440
            <TransformGroup>
-
 
1441
              <ScaleTransform />
-
 
1442
              <SkewTransform />
-
 
1443
              <RotateTransform Angle="90" />
-
 
1444
              <TranslateTransform />
-
 
1445
            </TransformGroup>
-
 
1446
          </Label.RenderTransform>
-
 
1447
          <Label.Style>
-
 
1448
            <Style TargetType="{x:Type Label}">
-
 
1449
              <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
1450
              <Style.Triggers>
-
 
1451
                <Trigger Property="IsMouseOver" Value="True">
-
 
1452
                  <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
1453
                </Trigger>
-
 
1454
                <DataTrigger Binding="{Binding IsVisible, ElementName=GridMotors}" Value="True">
-
 
1455
                  <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
1456
                </DataTrigger>
-
 
1457
              </Style.Triggers>
-
 
1458
            </Style>
-
 
1459
          </Label.Style>
-
 
1460
        </Label>
-
 
1461
        <Label x:Name="labelOSD" Content="{DynamicResource 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">
-
 
1462
          <Label.RenderTransform>
-
 
1463
            <TransformGroup>
-
 
1464
              <ScaleTransform />
-
 
1465
              <SkewTransform />
-
 
1466
              <RotateTransform Angle="90" />
-
 
1467
              <TranslateTransform />
-
 
1468
            </TransformGroup>
-
 
1469
          </Label.RenderTransform>
-
 
1470
          <Label.Style>
-
 
1471
            <Style TargetType="{x:Type Label}">
-
 
1472
              <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
1473
              <Style.Triggers>
-
 
1474
                <Trigger Property="IsMouseOver" Value="True">
-
 
1475
                  <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
1476
                </Trigger>
-
 
1477
                <DataTrigger Binding="{Binding IsVisible, ElementName=GridOSD}" Value="True">
-
 
1478
                  <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
1479
                </DataTrigger>
-
 
1480
              </Style.Triggers>
-
 
1481
            </Style>
-
 
1482
          </Label.Style>
-
 
1483
        </Label>
2146
                <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
1484
        <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="{DynamicResource tbSideBarStatusMotors}" FontWeight="Bold">
-
 
1485
          <TextBox.Resources>
-
 
1486
            <Style TargetType="{x:Type Border}">
-
 
1487
              <Setter Property="CornerRadius" Value="30" />
-
 
1488
            </Style>
-
 
1489
          </TextBox.Resources>
-
 
1490
        </TextBox>
-
 
1491
        <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="{DynamicResource tbSideBarStatusPH}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold" />
2147
                    <GradientStop Color="#B2FF2121" Offset="0.457" />
1492
        <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="{DynamicResource tbSideBarStatusCF}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold" />
2148
                    <GradientStop Color="Red" Offset="1" />
1493
        <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="{DynamicResource tbSideBarStatusAC}" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold" />
2149
                </LinearGradientBrush>
1494
        <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="{DynamicResource tbSideBarStatusEmergencyLanding}" FontWeight="Bold">
-
 
1495
          <TextBox.Resources>
-
 
1496
            <Style TargetType="{x:Type Border}">
-
 
1497
              <Setter Property="CornerRadius" Value="30" />
-
 
1498
            </Style>
-
 
1499
          </TextBox.Resources>
-
 
1500
        </TextBox>
-
 
1501
        <TextBox x:Name="tbSideBarGPXLog" Height="19" Margin="1,0,0,4" Text="GPX" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="{DynamicResource tbSideBarGPXLog}" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontSize="10" VerticalAlignment="Bottom" HorizontalAlignment="Left" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" Padding="-1.5,0,0,0" />
-
 
1502
        <Label x:Name="labelWPEdit" Content="{DynamicResource WP-Edit}" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,308,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelWPEdit_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
1503
          <Label.RenderTransform>
-
 
1504
            <TransformGroup>
-
 
1505
              <ScaleTransform />
-
 
1506
              <SkewTransform />
-
 
1507
              <RotateTransform Angle="90" />
-
 
1508
              <TranslateTransform />
-
 
1509
            </TransformGroup>
-
 
1510
          </Label.RenderTransform>
-
 
1511
          <Label.Style>
-
 
1512
            <Style TargetType="{x:Type Label}">
-
 
1513
              <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
1514
              <Style.Triggers>
-
 
1515
                <Trigger Property="IsMouseOver" Value="True">
-
 
1516
                  <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
1517
                </Trigger>
-
 
1518
                <DataTrigger Binding="{Binding IsVisible, ElementName=GridWPEdit}" Value="True">
-
 
1519
                  <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
1520
                </DataTrigger>
-
 
1521
              </Style.Triggers>
-
 
1522
            </Style>
-
 
1523
          </Label.Style>
-
 
1524
        </Label>
-
 
1525
        <Label x:Name="labelCamera" Content="{DynamicResource Camera}" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,383,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelCamera_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
-
 
1526
          <Label.RenderTransform>
-
 
1527
            <TransformGroup>
-
 
1528
              <ScaleTransform />
-
 
1529
              <SkewTransform />
-
 
1530
              <RotateTransform Angle="90" />
-
 
1531
              <TranslateTransform />
-
 
1532
            </TransformGroup>
-
 
1533
          </Label.RenderTransform>
-
 
1534
          <Label.Style>
-
 
1535
            <Style TargetType="{x:Type Label}">
-
 
1536
              <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
-
 
1537
              <Style.Triggers>
-
 
1538
                <Trigger Property="IsMouseOver" Value="True">
-
 
1539
                  <Setter Property="Background" Value="{DynamicResource PressedItemBrush}" />
-
 
1540
                </Trigger>
-
 
1541
                <DataTrigger Binding="{Binding IsVisible, ElementName=GridCam}" Value="True">
-
 
1542
                  <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}" />
-
 
1543
                </DataTrigger>
-
 
1544
              </Style.Triggers>
-
 
1545
            </Style>
-
 
1546
          </Label.Style>
-
 
1547
        </Label>
-
 
1548
        <Label x:Name="labelCam_pic" Content="" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="0,0,0,29" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="lblCam_Click" FontSize="14" HorizontalAlignment="Left" Width="23" Height="22" VerticalAlignment="Bottom" ToolTip="{DynamicResource labelCam_pic}">
-
 
1549
          <Label.Background>
-
 
1550
            <ImageBrush ImageSource="Images/Photo-Camera.ico" Stretch="Uniform" />
2150
            </Label.Background>
1551
          </Label.Background>
-
 
1552
        </Label>
-
 
1553
      </Grid>
-
 
1554
      <Grid x:Name="WPStatus" HorizontalAlignment="Left" Height="37" Margin="295,37,0,0" VerticalAlignment="Top" Width="313" Background="#7F000000" Style="{StaticResource GridVisibility}" Tag="{Binding ElementName=checkBoxShowWPStatus}" Visibility="Visible">
-
 
1555
        <Canvas Margin="225,2,40,4">
-
 
1556
          <Label x:Name="label4_Copy38" Content="{DynamicResource WP}" HorizontalAlignment="Center" VerticalAlignment="Top" Width="86" Foreground="White" Height="31" Padding="4,1,1,1" VerticalContentAlignment="Center" FontSize="14" BorderBrush="#FFDBDFE6" BorderThickness="0.5" ToolTip="{DynamicResource label4_Copy38}" />
-
 
1557
          <Label x:Name="label4_Copy37" Content="/" HorizontalAlignment="Right" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="14" Canvas.Left="50" Canvas.Top="5" />
-
 
1558
          <Label x:Name="lblWPStatusIndexNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="31" FontSize="14" Canvas.Left="25" VerticalContentAlignment="Center" />
-
 
1559
          <Label x:Name="lblWPStatusCountNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Center" Width="25" Foreground="White" Padding="0" Height="31" FontSize="14" Canvas.Left="59" VerticalContentAlignment="Center" />
-
 
1560
        </Canvas>
-
 
1561
        <Canvas Margin="79,3,189,158" ToolTip="{DynamicResource distance}">
-
 
1562
          <TextBox x:Name="tbWPStatusDistanceWP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFDBDFE6" FontSize="14" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="{DynamicResource tbWPStatusDistanceWP}" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" Canvas.Left="-5" />
-
 
1563
          <ed:LineArrow Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="1" Stroke="White" VerticalAlignment="Bottom" Width="49" EndArrow="StealthArrow" ArrowSize="4" Canvas.Top="25" StrokeThickness="2" Canvas.Left="1" />
-
 
1564
        </Canvas>
-
 
1565
        <Canvas Margin="2,3,257,0" ToolTip="{DynamicResource hold}">
-
 
1566
          <TextBox x:Name="tbWPStatusHoldTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 s" VerticalAlignment="Top" Width="69" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="{DynamicResource tbWPStatusHoldTime}" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" />
-
 
1567
          <Image x:Name="imageFlightTime1" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="40" Canvas.Top="2.333" />
-
 
1568
        </Canvas>
-
 
1569
        <Canvas Margin="161,2,114,4" ToolTip="{DynamicResource WP height}">
-
 
1570
          <TextBox x:Name="tbWPStatusHeight" 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="{DynamicResource tbWPStatusHeight}" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" />
-
 
1571
          <Image x:Name="imageFlightTime_Copy1" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4" />
-
 
1572
        </Canvas>
-
 
1573
      </Grid>
-
 
1574
      <Grid x:Name="GridWPEdit" Margin="0,36,24,0" Background="#A5000000" Height="617" VerticalAlignment="Top" HorizontalAlignment="Right" Width="339" Visibility="Collapsed">
-
 
1575
        <Label x:Name="lblWPEditAlt" HorizontalAlignment="Right" Margin="0,52,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderAlt}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1576
          <Label.Style>
-
 
1577
            <Style TargetType="{x:Type Label}">
-
 
1578
              <Style.Triggers>
-
 
1579
                <DataTrigger Binding="{Binding Value, ElementName=SliderAlt}">
-
 
1580
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderAlt}" />
-
 
1581
                </DataTrigger>
-
 
1582
              </Style.Triggers>
-
 
1583
            </Style>
-
 
1584
          </Label.Style>
-
 
1585
        </Label>
-
 
1586
        <Slider x:Name="SliderAlt" HorizontalAlignment="Right" Height="29" Margin="0,51,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
-
 
1587
        <Label x:Name="label4_Copy41" Content="{DynamicResource Altitude}" HorizontalAlignment="Left" Margin="7,53,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1588
        <Label x:Name="lblWPEditHeading" HorizontalAlignment="Right" Margin="0,96,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderHeading}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1589
          <Label.Style>
-
 
1590
            <Style TargetType="{x:Type Label}">
-
 
1591
              <Setter Property="Visibility" Value="Collapsed" />
-
 
1592
              <Style.Triggers>
-
 
1593
                <DataTrigger Binding="{Binding Value, ElementName=SliderHeading}">
-
 
1594
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderHeading}" />
-
 
1595
                </DataTrigger>
-
 
1596
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="2">
-
 
1597
                  <Setter Property="Visibility" Value="Visible" />
-
 
1598
                  <Setter Property="ContentStringFormat" Value="{}{0} °" />
-
 
1599
                </DataTrigger>
-
 
1600
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="1">
-
 
1601
                  <Setter Property="Visibility" Value="Visible" />
-
 
1602
                </DataTrigger>
-
 
1603
              </Style.Triggers>
-
 
1604
            </Style>
-
 
1605
          </Label.Style>
-
 
1606
        </Label>
-
 
1607
        <Slider x:Name="SliderHeading" HorizontalAlignment="Right" Height="29" Margin="0,95,59,0" VerticalAlignment="Top" Width="158" FontSize="20" LargeChange="1" SmallChange="1" Value="359" IsSnapToTickEnabled="True">
-
 
1608
          <Slider.Style>
-
 
1609
            <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1610
              <Setter Property="Visibility" Value="Collapsed" />
-
 
1611
              <Style.Triggers>
-
 
1612
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="1">
-
 
1613
                  <Setter Property="Visibility" Value="Visible" />
-
 
1614
                  <Setter Property="Maximum" Value="99" />
-
 
1615
                  <Setter Property="Minimum" Value="1" />
-
 
1616
                </DataTrigger>
-
 
1617
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="2">
-
 
1618
                  <Setter Property="Visibility" Value="Visible" />
-
 
1619
                  <Setter Property="Maximum" Value="359" />
-
 
1620
                  <Setter Property="Minimum" Value="0" />
-
 
1621
                </DataTrigger>
-
 
1622
              </Style.Triggers>
-
 
1623
            </Style>
-
 
1624
          </Slider.Style>
-
 
1625
        </Slider>
-
 
1626
        <Label x:Name="label4_Copy42" Content="{DynamicResource Heading}" HorizontalAlignment="Left" Margin="7,83,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1627
        <ComboBox x:Name="cbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="7,101,0,0" VerticalAlignment="Top" Width="69">
-
 
1628
          <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center" />
-
 
1629
          <ComboBoxItem Content="{DynamicResource WP/POI}" />
-
 
1630
          <ComboBoxItem Content="{DynamicResource degree}" />
-
 
1631
        </ComboBox>
-
 
1632
        <Label x:Name="lblWPEditSpeed" HorizontalAlignment="Right" Margin="0,140,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderSpeed}" ContentStringFormat="{}{0} m/s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1633
          <Label.Style>
-
 
1634
            <Style TargetType="{x:Type Label}">
-
 
1635
              <Setter Property="Visibility" Value="Collapsed" />
-
 
1636
              <Style.Triggers>
-
 
1637
                <DataTrigger Binding="{Binding Value, ElementName=SliderSpeed}">
-
 
1638
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderSpeed}" />
-
 
1639
                </DataTrigger>
-
 
1640
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditSpeed}" Value="1">
-
 
1641
                  <Setter Property="Visibility" Value="Visible" />
-
 
1642
                </DataTrigger>
-
 
1643
              </Style.Triggers>
-
 
1644
            </Style>
-
 
1645
          </Label.Style>
-
 
1646
        </Label>
-
 
1647
        <Slider x:Name="SliderSpeed" HorizontalAlignment="Right" Height="29" Margin="0,139,59,0" VerticalAlignment="Top" Width="158" Maximum="24.7" FontSize="20" Value="24.7" Minimum="0.1" LargeChange="0.1" TickFrequency="0.1" IsSnapToTickEnabled="True">
-
 
1648
          <Slider.Style>
-
 
1649
            <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1650
              <Setter Property="Visibility" Value="Collapsed" />
-
 
1651
              <Style.Triggers>
-
 
1652
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditSpeed}" Value="1">
-
 
1653
                  <Setter Property="Visibility" Value="Visible" />
-
 
1654
                </DataTrigger>
-
 
1655
              </Style.Triggers>
-
 
1656
            </Style>
-
 
1657
          </Slider.Style>
-
 
1658
        </Slider>
-
 
1659
        <Label x:Name="label4_Copy43" Content="{DynamicResource Speed}" HorizontalAlignment="Left" Margin="7,127,0,0" Width="94" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1660
        <ComboBox x:Name="cbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="7,145,0,0" VerticalAlignment="Top" Width="69">
-
 
1661
          <ComboBoxItem Content="{DynamicResource MAX}" />
-
 
1662
          <ComboBoxItem Content="{DynamicResource m/s}" />
-
 
1663
          <ComboBoxItem Content="{DynamicResource Poti 1}" />
-
 
1664
          <ComboBoxItem Content="{DynamicResource Poti 2}" />
-
 
1665
          <ComboBoxItem Content="{DynamicResource Poti 3}" />
-
 
1666
          <ComboBoxItem Content="{DynamicResource Poti 4}" />
-
 
1667
          <ComboBoxItem Content="{DynamicResource Poti 5}" />
-
 
1668
          <ComboBoxItem Content="{DynamicResource Poti 6}" />
-
 
1669
          <ComboBoxItem Content="{DynamicResource Poti 7}" />
-
 
1670
          <ComboBoxItem Content="{DynamicResource Poti 8}" />
-
 
1671
        </ComboBox>
-
 
1672
        <Label x:Name="lblWPEditClimbrate" HorizontalAlignment="Right" Margin="0,185,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderClimbrate}" ContentStringFormat="{}{0} m/s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1673
          <Label.Style>
-
 
1674
            <Style TargetType="{x:Type Label}">
-
 
1675
              <Style.Triggers>
-
 
1676
                <DataTrigger Binding="{Binding Value, ElementName=SliderClimbrate}">
-
 
1677
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderClimbrate}" />
-
 
1678
                </DataTrigger>
-
 
1679
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditClimbrate}" Value="0">
-
 
1680
                  <Setter Property="Visibility" Value="Hidden" />
-
 
1681
                </DataTrigger>
-
 
1682
              </Style.Triggers>
-
 
1683
            </Style>
-
 
1684
          </Label.Style>
2151
        </Label>
1685
        </Label>
-
 
1686
        <Slider x:Name="SliderClimbrate" HorizontalAlignment="Right" Height="29" Margin="0,184,59,0" VerticalAlignment="Top" Width="158" Maximum="25.4" FontSize="20" Value="26" Minimum="0.1" LargeChange="0.1" TickFrequency="0.1" IsSnapToTickEnabled="True">
-
 
1687
          <Slider.Style>
-
 
1688
            <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1689
              <Style.Triggers>
-
 
1690
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditClimbrate}" Value="0">
-
 
1691
                  <Setter Property="Visibility" Value="Hidden" />
-
 
1692
                </DataTrigger>
-
 
1693
              </Style.Triggers>
-
 
1694
            </Style>
-
 
1695
          </Slider.Style>
-
 
1696
        </Slider>
-
 
1697
        <Label x:Name="label4_Copy44" Content="{DynamicResource Climbrate}" HorizontalAlignment="Left" Margin="7,172,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1698
        <ComboBox x:Name="cbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="7,190,0,0" VerticalAlignment="Top" Width="69">
-
 
1699
          <ComboBoxItem Content="{DynamicResource AUTO}" />
-
 
1700
          <ComboBoxItem Content="{DynamicResource m/s}" />
-
 
1701
        </ComboBox>
-
 
1702
        <Label x:Name="lblWPEditRadius" HorizontalAlignment="Right" Margin="0,227,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderRadius}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1703
          <Label.Style>
-
 
1704
            <Style TargetType="{x:Type Label}">
-
 
1705
              <Style.Triggers>
-
 
1706
                <DataTrigger Binding="{Binding Value, ElementName=SliderRadius}">
-
 
1707
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderRadius}" />
-
 
1708
                </DataTrigger>
-
 
1709
              </Style.Triggers>
-
 
1710
            </Style>
-
 
1711
          </Label.Style>
-
 
1712
        </Label>
-
 
1713
        <Slider x:Name="SliderRadius" HorizontalAlignment="Right" Height="29" Margin="0,226,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
-
 
1714
        <Label x:Name="label4_Copy45" Content="{DynamicResource Radius}" HorizontalAlignment="Left" Margin="7,228,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1715
        <Label x:Name="lblWPEditHoldtime" HorizontalAlignment="Right" Margin="0,269,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderHoldTime}" ContentStringFormat="{}{0} s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1716
          <Label.Style>
-
 
1717
            <Style TargetType="{x:Type Label}">
-
 
1718
              <Style.Triggers>
-
 
1719
                <DataTrigger Binding="{Binding Value, ElementName=SliderHoldTime}">
-
 
1720
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderHoldTime}" />
-
 
1721
                </DataTrigger>
-
 
1722
              </Style.Triggers>
-
 
1723
            </Style>
-
 
1724
          </Label.Style>
-
 
1725
        </Label>
-
 
1726
        <Slider x:Name="SliderHoldTime" HorizontalAlignment="Right" Height="29" Margin="0,268,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
-
 
1727
        <Label x:Name="label4_Copy46" Content="{DynamicResource Holdtime}" HorizontalAlignment="Left" Margin="7,270,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1728
        <Label x:Name="lblWPEditAutoTrigger" HorizontalAlignment="Right" Margin="0,311,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderAutoTrigger}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1729
          <Label.Style>
-
 
1730
            <Style TargetType="{x:Type Label}">
-
 
1731
              <Style.Triggers>
-
 
1732
                <DataTrigger Binding="{Binding Value, ElementName=SliderAutoTrigger}">
-
 
1733
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderAutoTrigger}" />
-
 
1734
                </DataTrigger>
-
 
1735
              </Style.Triggers>
-
 
1736
            </Style>
-
 
1737
          </Label.Style>
-
 
1738
        </Label>
-
 
1739
        <Slider x:Name="SliderAutoTrigger" HorizontalAlignment="Right" Height="29" Margin="0,310,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
-
 
1740
        <Label x:Name="label4_Copy47" Content="{DynamicResource Autotrigger}" HorizontalAlignment="Left" Margin="7,312,0,0" Width="90" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1741
        <Label x:Name="lblWPEditCamAngle" HorizontalAlignment="Right" Margin="0,358,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderCamAngle}" ContentStringFormat="{}{0} °" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1742
          <Label.Style>
-
 
1743
            <Style TargetType="{x:Type Label}">
-
 
1744
              <Setter Property="Visibility" Value="Hidden" />
-
 
1745
              <Style.Triggers>
-
 
1746
                <DataTrigger Binding="{Binding Value, ElementName=SlideCamAngle}">
-
 
1747
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderCamAngle}" />
-
 
1748
                </DataTrigger>
-
 
1749
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditCamAngle}" Value="2">
-
 
1750
                  <Setter Property="Visibility" Value="Visible" />
-
 
1751
                </DataTrigger>
-
 
1752
              </Style.Triggers>
-
 
1753
            </Style>
-
 
1754
          </Label.Style>
-
 
1755
        </Label>
-
 
1756
        <Slider x:Name="SliderCamAngle" HorizontalAlignment="Right" Height="29" Margin="0,357,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" Minimum="1">
-
 
1757
          <Slider.Style>
-
 
1758
            <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}">
-
 
1759
              <Setter Property="Visibility" Value="Hidden" />
-
 
1760
              <Style.Triggers>
-
 
1761
                <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditCamAngle}" Value="2">
-
 
1762
                  <Setter Property="Visibility" Value="Visible" />
-
 
1763
                </DataTrigger>
-
 
1764
              </Style.Triggers>
-
 
1765
            </Style>
-
 
1766
          </Slider.Style>
-
 
1767
        </Slider>
-
 
1768
        <Label x:Name="label4_Copy48" Content="{DynamicResource Camera angle}" HorizontalAlignment="Left" Margin="7,345,0,0" Width="81" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1769
        <ComboBox x:Name="cbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="7,365,0,0" VerticalAlignment="Top" Width="69">
-
 
1770
          <ComboBoxItem Content="  - - - " HorizontalContentAlignment="Center" />
-
 
1771
          <ComboBoxItem Content="{DynamicResource AUTO}" />
-
 
1772
          <ComboBoxItem Content="{DynamicResource degree}" />
-
 
1773
        </ComboBox>
-
 
1774
        <Label x:Name="lblWPEditOut1" HorizontalAlignment="Right" Margin="0,398,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderOut1}" ContentStringFormat="{}{0} ms" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
1775
          <Label.Style>
-
 
1776
            <Style TargetType="{x:Type Label}">
-
 
1777
              <Style.Triggers>
-
 
1778
                <DataTrigger Binding="{Binding Value, ElementName=SliderOut1}">
-
 
1779
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderOut1}" />
-
 
1780
                </DataTrigger>
-
 
1781
              </Style.Triggers>
-
 
1782
            </Style>
-
 
1783
          </Label.Style>
-
 
1784
        </Label>
-
 
1785
        <Slider x:Name="SliderOut1" HorizontalAlignment="Right" Height="29" Margin="0,397,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" />
-
 
1786
        <Label x:Name="label4_Copy49" Content="{DynamicResource OUT1 timer}" HorizontalAlignment="Left" Margin="7,399,0,0" Width="69" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1787
        <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="6,18,0,0" VerticalAlignment="Top" Width="70">
-
 
1788
          <ComboBoxItem Content="{DynamicResource WP}" />
-
 
1789
          <ComboBoxItem Content="{DynamicResource POI}" />
-
 
1790
          <ComboBoxItem Content="{DynamicResource Failsafe}" />
-
 
1791
          <ComboBoxItem Content="{DynamicResource Landing}" />
-
 
1792
        </ComboBox>
-
 
1793
        <Label x:Name="label4a" Content="{DynamicResource Type}" HorizontalAlignment="Left" Margin="7,0,0,0" Width="39" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1794
        <Label x:Name="label4b" Content="{DynamicResource Prefix}" HorizontalAlignment="Left" Margin="82,0,0,0" Width="35" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1795
        <TextBox x:Name="tbWPEditPrefix" HorizontalAlignment="Left" Height="22" Margin="82,18,0,0" VerticalAlignment="Top" Width="29" IsUndoEnabled="False" MaxLines="1" MaxLength="1" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" IsTabStop="False" />
-
 
1796
        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="7,0,0,131" Height="31" VerticalAlignment="Bottom">
-
 
1797
          <Rectangle.Style>
-
 
1798
            <Style TargetType="{x:Type Rectangle}">
-
 
1799
              <Style.Triggers>
-
 
1800
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True">
-
 
1801
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1802
                </DataTrigger>
-
 
1803
              </Style.Triggers>
-
 
1804
            </Style>
-
 
1805
          </Rectangle.Style>
-
 
1806
        </Rectangle>
-
 
1807
        <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="26" Margin="9,0,0,133" VerticalAlignment="Bottom" Width="71" ToolTip="{DynamicResource btnEditWPSave}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave_Click">
-
 
1808
          <Button.Background>
-
 
1809
            <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform" />
-
 
1810
          </Button.Background>
-
 
1811
        </Button>
-
 
1812
        <Label x:Name="label4_Copy27" Content="{DynamicResource save changes}" HorizontalAlignment="Left" Margin="5,0,0,162" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="39" VerticalContentAlignment="Bottom" />
-
 
1813
        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="102,0,0,131" Height="31" VerticalAlignment="Bottom" ToolTip="{DynamicResource add}">
-
 
1814
          <Rectangle.Style>
-
 
1815
            <Style TargetType="{x:Type Rectangle}">
-
 
1816
              <Style.Triggers>
-
 
1817
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPAdd}" Value="True">
-
 
1818
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1819
                </DataTrigger>
-
 
1820
              </Style.Triggers>
-
 
1821
            </Style>
-
 
1822
          </Rectangle.Style>
-
 
1823
        </Rectangle>
-
 
1824
        <Button x:Name="btnEditWPAdd" HorizontalAlignment="Left" Height="29" Margin="102,0,0,132" VerticalAlignment="Bottom" Width="74" ToolTip="{DynamicResource btnEditWPAdd}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPAdd_Click" RenderTransformOrigin="0.5,0.5" Background="{x:Null}">
-
 
1825
          <Button.RenderTransform>
-
 
1826
            <TransformGroup>
-
 
1827
              <ScaleTransform />
-
 
1828
              <SkewTransform />
-
 
1829
              <RotateTransform Angle="0.013" />
-
 
1830
              <TranslateTransform />
-
 
1831
            </TransformGroup>
-
 
1832
          </Button.RenderTransform>
-
 
1833
          <Image x:Name="image" Height="23" Width="26" Source="Images/Delete.png" RenderTransformOrigin="0.5,0.5">
-
 
1834
            <Image.RenderTransform>
-
 
1835
              <TransformGroup>
-
 
1836
                <ScaleTransform />
-
 
1837
                <SkewTransform />
-
 
1838
                <RotateTransform Angle="45" />
-
 
1839
                <TranslateTransform />
-
 
1840
              </TransformGroup>
-
 
1841
            </Image.RenderTransform>
-
 
1842
          </Image>
-
 
1843
        </Button>
-
 
1844
        <Label x:Name="label4_Copy30" Content="{DynamicResource add WP}" HorizontalAlignment="Left" Margin="100,0,0,159" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26" />
-
 
1845
        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="196,0,0,131" Height="31" VerticalAlignment="Bottom">
-
 
1846
          <Rectangle.Style>
-
 
1847
            <Style TargetType="{x:Type Rectangle}">
-
 
1848
              <Style.Triggers>
-
 
1849
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPDel}" Value="True">
-
 
1850
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1851
                </DataTrigger>
-
 
1852
              </Style.Triggers>
-
 
1853
            </Style>
-
 
1854
          </Rectangle.Style>
-
 
1855
        </Rectangle>
-
 
1856
        <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="25" Margin="200,0,0,134" VerticalAlignment="Bottom" Width="68" ToolTip="{DynamicResource btnEditWPDel}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel_Click">
-
 
1857
          <Button.Background>
-
 
1858
            <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform" />
-
 
1859
          </Button.Background>
-
 
1860
        </Button>
-
 
1861
        <Label x:Name="label4_Copy40" Content="{DynamicResource delete WP}" HorizontalAlignment="Left" Margin="196,0,0,159" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26" />
-
 
1862
        <Label x:Name="lblWPEditIndex" Content="##" HorizontalAlignment="Left" Height="23" Margin="111,17,0,0" VerticalAlignment="Top" Width="29" Foreground="White" VerticalContentAlignment="Center" />
-
 
1863
        <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="284,0,0,124" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1864
          <Rectangle.Style>
-
 
1865
            <Style TargetType="{x:Type Rectangle}">
-
 
1866
              <Style.Triggers>
-
 
1867
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveUp}" Value="True">
-
 
1868
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1869
                </DataTrigger>
-
 
1870
              </Style.Triggers>
-
 
1871
            </Style>
-
 
1872
          </Rectangle.Style>
-
 
1873
        </Rectangle>
-
 
1874
        <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="294,0,0,138" HorizontalAlignment="Left" VerticalAlignment="Bottom">
-
 
1875
          <ed:LineArrow.RenderTransform>
-
 
1876
            <TransformGroup>
-
 
1877
              <ScaleTransform />
-
 
1878
              <SkewTransform />
-
 
1879
              <RotateTransform Angle="-90" />
-
 
1880
              <TranslateTransform />
-
 
1881
            </TransformGroup>
-
 
1882
          </ed:LineArrow.RenderTransform>
-
 
1883
        </ed:LineArrow>
-
 
1884
        <Button x:Name="btnWPEditmoveUp" HorizontalAlignment="Left" Height="34" Margin="284,0,0,124" VerticalAlignment="Bottom" Width="44" ToolTip="{DynamicResource btnWPEditmoveUp}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditmoveUp_Click" Padding="14,1" Background="#00000000" />
-
 
1885
        <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="284,0,0,87" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1886
          <Rectangle.Style>
-
 
1887
            <Style TargetType="{x:Type Rectangle}">
-
 
1888
              <Style.Triggers>
-
 
1889
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveDown}" Value="True">
-
 
1890
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1891
                </DataTrigger>
-
 
1892
              </Style.Triggers>
-
 
1893
            </Style>
-
 
1894
          </Rectangle.Style>
-
 
1895
        </Rectangle>
-
 
1896
        <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="26" RenderTransformOrigin="0.5,0.5" Margin="293,0,0,106" VerticalAlignment="Bottom" HorizontalAlignment="Left">
-
 
1897
          <ed:LineArrow.RenderTransform>
-
 
1898
            <TransformGroup>
-
 
1899
              <ScaleTransform />
-
 
1900
              <SkewTransform />
-
 
1901
              <RotateTransform Angle="90" />
-
 
1902
              <TranslateTransform />
-
 
1903
            </TransformGroup>
-
 
1904
          </ed:LineArrow.RenderTransform>
-
 
1905
        </ed:LineArrow>
-
 
1906
        <Button x:Name="btnWPEditmoveDown" HorizontalAlignment="Left" Margin="284,0,0,87" Width="44" ToolTip="{DynamicResource btnWPEditmoveDown}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditmoveDown_Click" Padding="14,1" Background="#00000000" Height="34" VerticalAlignment="Bottom" />
-
 
1907
        <Rectangle HorizontalAlignment="Left" Width="78" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="117,0,0,76" Height="31" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1908
          <Rectangle.Style>
-
 
1909
            <Style TargetType="{x:Type Rectangle}">
-
 
1910
              <Style.Triggers>
-
 
1911
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True">
-
 
1912
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1913
                </DataTrigger>
-
 
1914
              </Style.Triggers>
-
 
1915
            </Style>
-
 
1916
          </Rectangle.Style>
-
 
1917
        </Rectangle>
-
 
1918
        <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="28" Margin="118,0,0,77" VerticalAlignment="Bottom" Width="77" ToolTip="{DynamicResource btnSendActiveWP_Copy1}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click">
-
 
1919
          <Button.Background>
-
 
1920
            <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform" />
-
 
1921
          </Button.Background>
-
 
1922
        </Button>
-
 
1923
        <Label x:Name="label4_Copy29" Content="{DynamicResource set as active WP}" HorizontalAlignment="Left" Margin="114,0,0,104" VerticalAlignment="Bottom" Width="114" Foreground="White" Height="26" />
-
 
1924
        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="8,0,0,76" Height="31" VerticalAlignment="Bottom">
-
 
1925
          <Rectangle.Style>
-
 
1926
            <Style TargetType="{x:Type Rectangle}">
-
 
1927
              <Style.Triggers>
-
 
1928
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSendToCopter}" Value="True">
-
 
1929
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1930
                </DataTrigger>
-
 
1931
              </Style.Triggers>
-
 
1932
            </Style>
-
 
1933
          </Rectangle.Style>
-
 
1934
        </Rectangle>
-
 
1935
        <Button x:Name="btnEditWPSendToCopter" Content="" HorizontalAlignment="Left" Height="28" Margin="8,0,0,77" VerticalAlignment="Bottom" Width="75" ToolTip="{DynamicResource btnEditWPSendToCopter}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSendToCopter_Click">
-
 
1936
          <Button.Background>
-
 
1937
            <ImageBrush ImageSource="Images/SendToCopter.png" Stretch="Uniform" />
-
 
1938
          </Button.Background>
-
 
1939
        </Button>
-
 
1940
        <Label x:Name="label4_Copy34" Content="{DynamicResource send to copter}" HorizontalAlignment="Left" Margin="2,0,0,104" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26" />
-
 
1941
        <Label x:Name="label4_Copy16" Content="{DynamicResource Latitude}" HorizontalAlignment="Left" Margin="143,0,0,0" Width="76" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1942
        <TextBox x:Name="tbWPEditLat" HorizontalAlignment="Left" Height="22" Margin="143,18,0,0" VerticalAlignment="Top" Width="88" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True" />
-
 
1943
        <Label x:Name="label4_Copy17" Content="{DynamicResource Longitude}" HorizontalAlignment="Left" Margin="236,0,0,0" Width="88" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top" />
-
 
1944
        <TextBox x:Name="tbWPEditLon" HorizontalAlignment="Left" Height="22" Margin="236,18,0,0" VerticalAlignment="Top" Width="88" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True" />
-
 
1945
        <Rectangle HorizontalAlignment="Left" Width="86" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="11,0,0,19" Height="34" VerticalAlignment="Bottom">
-
 
1946
          <Rectangle.Style>
-
 
1947
            <Style TargetType="{x:Type Rectangle}">
-
 
1948
              <Style.Triggers>
-
 
1949
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True">
-
 
1950
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1951
                </DataTrigger>
-
 
1952
              </Style.Triggers>
-
 
1953
            </Style>
-
 
1954
          </Rectangle.Style>
-
 
1955
        </Rectangle>
-
 
1956
        <Button x:Name="btnWPEditAddCurrentPos" Content="" HorizontalAlignment="Left" Height="32" Margin="12,0,0,20" VerticalAlignment="Bottom" Width="85" ToolTip="{DynamicResource btnWPEditAddCurrentPos}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPAddCurrentPos_Click">
-
 
1957
          <Button.Background>
-
 
1958
            <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform" />
-
 
1959
          </Button.Background>
-
 
1960
        </Button>
-
 
1961
        <Label x:Name="label4_Copy28" Content="{DynamicResource add current Pos}" HorizontalAlignment="Left" Margin="8,0,0,50" VerticalAlignment="Bottom" Width="121" Foreground="White" Height="26" />
-
 
1962
        <CheckBox x:Name="checkBoxWPAddUseCopterHeight" Content="{DynamicResource use copter height}" HorizontalAlignment="Left" Height="16" Margin="108,564,0,0" VerticalAlignment="Top" Width="138" Background="White" Foreground="White" IsChecked="True" Click="checkBoxWPAddUseCopterHeight_Click" />
-
 
1963
        <CheckBox x:Name="checkBoxWPAddUseCopterHeading" Content="{DynamicResource use copter heading}" HorizontalAlignment="Left" Height="35" Margin="108,582,0,0" VerticalAlignment="Top" Width="166" Background="White" Foreground="White" IsChecked="True" Click="checkBoxWPAddUseCopterHeading_Click" />
-
 
1964
        <Rectangle HorizontalAlignment="Left" Width="81" Stroke="White" StrokeThickness="0.5" Margin="254,0,0,19" Height="38" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
-
 
1965
          <Rectangle.Style>
-
 
1966
            <Style TargetType="{x:Type Rectangle}">
-
 
1967
              <Style.Triggers>
-
 
1968
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveDefault}" Value="True">
-
 
1969
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1970
                </DataTrigger>
-
 
1971
              </Style.Triggers>
-
 
1972
            </Style>
-
 
1973
          </Rectangle.Style>
-
 
1974
        </Rectangle>
-
 
1975
        <Button x:Name="btnSaveDefault" HorizontalAlignment="Left" Height="37" Margin="254,0,0,20" VerticalAlignment="Bottom" Width="81" ToolTip="{DynamicResource btnSaveDefault}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnSaveDefault_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
1976
          <Label x:Name="label7" Content="{DynamicResource save as default}" Height="33" Width="85" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="#19CBB8B8" />
-
 
1977
        </Button>
-
 
1978
      </Grid>
-
 
1979
      <Grid x:Name="GridCam" Margin="0,222,24,0" Background="#A5000000" Height="246" VerticalAlignment="Top" HorizontalAlignment="Right" Width="306" Visibility="Collapsed">
-
 
1980
        <Rectangle x:Name="rectCamStart" HorizontalAlignment="Left" Width="74" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="8,71,0,0" Height="36" VerticalAlignment="Top" Fill="{DynamicResource ActiveItemBrush}" Visibility="Hidden" />
-
 
1981
        <Rectangle HorizontalAlignment="Left" Width="74" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="8,71,0,0" Height="36" VerticalAlignment="Top">
-
 
1982
          <Rectangle.Style>
-
 
1983
            <Style TargetType="{x:Type Rectangle}">
-
 
1984
              <Style.Triggers>
-
 
1985
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamStart}" Value="True">
-
 
1986
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
1987
                </DataTrigger>
-
 
1988
              </Style.Triggers>
-
 
1989
            </Style>
-
 
1990
          </Rectangle.Style>
-
 
1991
        </Rectangle>
-
 
1992
        <Button x:Name="btnCamStart" HorizontalAlignment="Left" Height="35" Margin="9,72,0,0" VerticalAlignment="Top" Width="73" ToolTip="{DynamicResource btnCamStart}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnCamStart_Click" Foreground="White">
-
 
1993
          <Label Content="{DynamicResource Start}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="37" Foreground="White" Height="16" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Padding="0" />
-
 
1994
        </Button>
-
 
1995
        <Rectangle HorizontalAlignment="Left" Width="74" Stroke="White" StrokeThickness="0.5" Margin="136,71,0,0" Height="36" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525">
-
 
1996
          <Rectangle.Style>
-
 
1997
            <Style TargetType="{x:Type Rectangle}">
-
 
1998
              <Style.Triggers>
-
 
1999
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamStop}" Value="True">
-
 
2000
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2001
                </DataTrigger>
-
 
2002
              </Style.Triggers>
-
 
2003
            </Style>
-
 
2004
          </Rectangle.Style>
-
 
2005
        </Rectangle>
-
 
2006
        <Button x:Name="btnCamStop" HorizontalAlignment="Left" Height="36" Margin="136,71,0,0" VerticalAlignment="Top" Width="74" ToolTip="{DynamicResource btnCamStop}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamStop_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
2007
          <Label Content="{DynamicResource Stop}" Height="16" Width="44" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" />
-
 
2008
        </Button>
-
 
2009
        <Rectangle HorizontalAlignment="Left" Width="86" Stroke="White" StrokeThickness="0.5" Margin="216,71,0,0" Height="36" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525">
-
 
2010
          <Rectangle.Style>
-
 
2011
            <Style TargetType="{x:Type Rectangle}">
-
 
2012
              <Style.Triggers>
-
 
2013
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamSettings}" Value="True">
-
 
2014
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2015
                </DataTrigger>
-
 
2016
              </Style.Triggers>
-
 
2017
            </Style>
-
 
2018
          </Rectangle.Style>
-
 
2019
        </Rectangle>
-
 
2020
        <Button x:Name="btnCamSettings" HorizontalAlignment="Left" Height="36" Margin="216,71,0,0" VerticalAlignment="Top" Width="86" ToolTip="{DynamicResource btnCamSettings}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamSettings_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
2021
          <Label Content="{DynamicResource Settings}" Height="16" Width="76" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" />
-
 
2022
        </Button>
-
 
2023
        <ComboBox x:Name="comboBoxCameras" HorizontalAlignment="Left" Height="33" Margin="8,31,0,0" VerticalAlignment="Top" Width="203" VerticalContentAlignment="Center" FontSize="18.667" />
-
 
2024
        <Label Content="{DynamicResource Available cameras}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="114" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="10,8,0,0" />
-
 
2025
        <Rectangle HorizontalAlignment="Left" Width="86" Stroke="White" StrokeThickness="0.5" Margin="216,31,0,0" Height="33" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525">
-
 
2026
          <Rectangle.Style>
-
 
2027
            <Style TargetType="{x:Type Rectangle}">
-
 
2028
              <Style.Triggers>
-
 
2029
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamListRefresh}" Value="True">
-
 
2030
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2031
                </DataTrigger>
-
 
2032
              </Style.Triggers>
-
 
2033
            </Style>
-
 
2034
          </Rectangle.Style>
-
 
2035
        </Rectangle>
-
 
2036
        <Button x:Name="btnCamListRefresh" HorizontalAlignment="Left" Height="30" Margin="216,33,0,0" VerticalAlignment="Top" Width="86" ToolTip="{DynamicResource btnCamListRefresh}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamListRefresh_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
2037
          <Label Content="{DynamicResource refresh}" Height="16" Width="76" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" ToolTip="{DynamicResource refreshCam}" />
-
 
2038
        </Button>
-
 
2039
        <Label Content="{DynamicResource stretch picture}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="114" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="9,121,0,0" />
-
 
2040
        <Rectangle HorizontalAlignment="Left" Width="66" Stroke="White" StrokeThickness="0.5" Margin="8,140,0,0" Height="37" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525">
-
 
2041
          <Rectangle.Style>
-
 
2042
            <Style TargetType="{x:Type Rectangle}">
-
 
2043
              <Style.Triggers>
-
 
2044
                <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="none">
-
 
2045
                  <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}" />
-
 
2046
                </DataTrigger>
-
 
2047
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchNone}" Value="True">
-
 
2048
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2049
                </DataTrigger>
-
 
2050
              </Style.Triggers>
-
 
2051
            </Style>
-
 
2052
          </Rectangle.Style>
-
 
2053
        </Rectangle>
-
 
2054
        <Button x:Name="btnCamPicStretchNone" HorizontalAlignment="Left" Height="37" Margin="8,140,0,0" VerticalAlignment="Top" Width="66" ToolTip="{DynamicResource btnCamPicStretchNone}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamPicStretchNone_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
2055
          <Label Content="{DynamicResource none}" Height="30" Width="52" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" />
-
 
2056
        </Button>
-
 
2057
        <Rectangle HorizontalAlignment="Left" Width="69" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="79,140,0,0" Height="37" VerticalAlignment="Top">
-
 
2058
          <Rectangle.Style>
-
 
2059
            <Style TargetType="{x:Type Rectangle}">
-
 
2060
              <Style.Triggers>
-
 
2061
                <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="fill">
-
 
2062
                  <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}" />
-
 
2063
                </DataTrigger>
-
 
2064
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchFill}" Value="True">
-
 
2065
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2066
                </DataTrigger>
-
 
2067
              </Style.Triggers>
-
 
2068
            </Style>
-
 
2069
          </Rectangle.Style>
-
 
2070
        </Rectangle>
-
 
2071
        <Button x:Name="btnCamPicStretchFill" HorizontalAlignment="Left" Height="36" Margin="79,141,0,0" VerticalAlignment="Top" Width="69" ToolTip="{DynamicResource btnCamPicStretchFill}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnCamPicStretchFill_Click" Foreground="White">
-
 
2072
          <Label Content="{DynamicResource Fill}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="74" Foreground="White" Height="29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Padding="0" />
-
 
2073
        </Button>
-
 
2074
        <Rectangle HorizontalAlignment="Left" Width="63" Stroke="White" StrokeThickness="0.5" Margin="153,140,0,0" Height="37" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525">
-
 
2075
          <Rectangle.Style>
-
 
2076
            <Style TargetType="{x:Type Rectangle}">
-
 
2077
              <Style.Triggers>
-
 
2078
                <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="uniform">
-
 
2079
                  <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}" />
-
 
2080
                </DataTrigger>
-
 
2081
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchUniform}" Value="True">
-
 
2082
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2083
                </DataTrigger>
-
 
2084
              </Style.Triggers>
-
 
2085
            </Style>
-
 
2086
          </Rectangle.Style>
-
 
2087
        </Rectangle>
-
 
2088
        <Button x:Name="btnCamPicStretchUniform" HorizontalAlignment="Left" Height="37" Margin="153,140,0,0" VerticalAlignment="Top" Width="63" ToolTip="{DynamicResource btnCamPicStretchUniform}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamPicStretchUniform_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
2089
          <Label Content="{DynamicResource uniform}" Height="30" Width="60" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" />
-
 
2090
        </Button>
-
 
2091
        <Rectangle HorizontalAlignment="Left" Width="76" Stroke="White" StrokeThickness="0.5" Margin="225,140,0,0" Height="37" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525">
-
 
2092
          <Rectangle.Style>
-
 
2093
            <Style TargetType="{x:Type Rectangle}">
-
 
2094
              <Style.Triggers>
-
 
2095
                <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="UniformToFill">
-
 
2096
                  <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}" />
-
 
2097
                </DataTrigger>
-
 
2098
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchUFill}" Value="True">
-
 
2099
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2100
                </DataTrigger>
-
 
2101
              </Style.Triggers>
-
 
2102
            </Style>
-
 
2103
          </Rectangle.Style>
-
 
2104
        </Rectangle>
-
 
2105
        <Button x:Name="btnCamPicStretchUFill" HorizontalAlignment="Left" Height="37" Margin="225,140,0,0" VerticalAlignment="Top" Width="72" ToolTip="{DynamicResource btnCamPicStretchUFill}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamPicStretchUFill_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
2106
          <Label Content="{DynamicResource uniform fill}" Height="32" Width="62" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" />
-
 
2107
        </Button>
-
 
2108
        <Label Content="{DynamicResource Zoom}" HorizontalAlignment="Left" VerticalAlignment="Top" Width="114" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="10,193,0,0" />
-
 
2109
        <Label x:Name="lblCamZoomVal" HorizontalAlignment="Right" Margin="0,210,108,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="26" Content="{Binding Value, ElementName=SliderCamZoom}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center">
-
 
2110
          <Label.Style>
-
 
2111
            <Style TargetType="{x:Type Label}">
-
 
2112
              <Style.Triggers>
-
 
2113
                <DataTrigger Binding="{Binding Value, ElementName=SliderCamZoom}">
-
 
2114
                  <Setter Property="Content" Value="{Binding Value, ElementName=SliderCamZoom}" />
-
 
2115
                </DataTrigger>
-
 
2116
              </Style.Triggers>
-
 
2117
            </Style>
-
 
2118
          </Label.Style>
-
 
2119
        </Label>
-
 
2120
        <Slider x:Name="SliderCamZoom" HorizontalAlignment="Right" Height="29" Margin="0,209,139,0" VerticalAlignment="Top" Width="162" Maximum="2" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="0.001" SmallChange="0.001" Value="1" IsSnapToTickEnabled="True" Minimum="0.1" TickFrequency="0.001" />
-
 
2121
        <Rectangle HorizontalAlignment="Left" Width="69" Stroke="White" StrokeThickness="0.5" Margin="199,204,0,0" Height="30" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525">
-
 
2122
          <Rectangle.Style>
-
 
2123
            <Style TargetType="{x:Type Rectangle}">
-
 
2124
              <Style.Triggers>
-
 
2125
                <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamResetZoom}" Value="True">
-
 
2126
                  <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}" />
-
 
2127
                </DataTrigger>
-
 
2128
              </Style.Triggers>
-
 
2129
            </Style>
-
 
2130
          </Rectangle.Style>
-
 
2131
        </Rectangle>
-
 
2132
        <Button x:Name="btnCamResetZoom" HorizontalAlignment="Left" Height="30" Margin="199,204,0,0" VerticalAlignment="Top" Width="69" ToolTip="{DynamicResource btnCamResetZoom}" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamResetZoom_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
-
 
2133
                    <Label Content="{DynamicResource reset}" Height="16" Width="62" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" ToolTip="{DynamicResource btnCamResetZoom}" />
-
 
2134
        </Button>
-
 
2135
      </Grid>
-
 
2136
      <Canvas x:Name="canvasAddPoint" HorizontalAlignment="Left" Height="196" Margin="469,180,0,0" VerticalAlignment="Top" Width="151" Background="#7F000000" MouseLeave="canvasAddPoint_MouseLeave" LostMouseCapture="canvasAddPoint_MouseLeave" Visibility="Collapsed">
-
 
2137
        <Button x:Name="btnCmAddWP" Content="{DynamicResource add waypoint}" Height="40" Canvas.Top="10" Width="137" Click="btnCmAddWP_Click" Canvas.Left="7" />
-
 
2138
        <Button x:Name="btnCmAddLanding" Content="{DynamicResource add landingpoint}" Height="40" Canvas.Top="55" Width="137" Click="btnCmAddLanding_Click" Canvas.Left="7" />
-
 
2139
        <Button x:Name="btnCmAddFailsave" Content="{DynamicResource add failsavepoint}" Height="40" Canvas.Top="100" Width="137" Click="btnCmAddFailsave_Click" Canvas.Left="7" />
-
 
2140
        <Button x:Name="btnCmAddPOI" Content="{DynamicResource add POI}" Height="40" Canvas.Top="146" Width="137" Click="btnCmAddPOI_Click" Canvas.Left="7" />
-
 
2141
      </Canvas>
-
 
2142
      <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>-->
2152
    </Grid>
2143
    </Grid>
-
 
2144
    <Label x:Name="labelSwitchToNavi" Content="{DynamicResource SwitchNC}" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Visibility="Collapsed">
-
 
2145
      <Label.Background>
-
 
2146
        <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
-
 
2147
          <GradientStop Color="#B2FF2121" Offset="0.457" />
-
 
2148
          <GradientStop Color="Red" Offset="1" />
-
 
2149
        </LinearGradientBrush>
-
 
2150
      </Label.Background>
-
 
2151
    </Label>
-
 
2152
  </Grid>
2153
</Window>
2153
</Window>
2154
2154