Subversion Repositories Projects

Rev

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

Rev 2350 Rev 2354
Line 822... Line 822...
822
                        </Grid>
822
                        </Grid>
823
                    </TabItem>
823
                    </TabItem>
824
                </TabControl>
824
                </TabControl>
825
            </Grid>
825
            </Grid>
826
            <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0">
826
            <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0">
827
                <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="2,0,0,0">
827
                <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="4,0,0,0">
828
                    <TabItem Header="General" Margin="0,0,-0.237,0">
828
                    <TabItem Header="General" Margin="0,0,5.849,0">
829
                        <Grid x:Name="TabGridGeneral">
829
                        <Grid x:Name="TabGridGeneral">
830
                            <local:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/>
830
                            <local:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/>
831
                            <GroupBox x:Name="groupBox" Header="timings autoupdate (ms)" HorizontalAlignment="Left" Height="129" Margin="10,278,0,0" VerticalAlignment="Top" Width="210" Foreground="White" BorderThickness="0.5,0.5,0.4,0.4" FontSize="14">
831
                            <GroupBox x:Name="groupBox" Header="timings autoupdate (ms)" HorizontalAlignment="Left" Height="129" Margin="10,278,0,0" VerticalAlignment="Top" Width="210" Foreground="White" BorderThickness="0.5,0.5,0.4,0.4" FontSize="14">
832
                                <Grid Margin="0,0,-12,-6">
832
                                <Grid Margin="0,0,-12,-6">
833
                                    <Label x:Name="label" Content="debug values" HorizontalAlignment="Left" Margin="4,13,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/>
833
                                    <Label x:Name="label" Content="debug values" HorizontalAlignment="Left" Margin="4,13,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/>
Line 851... Line 851...
851
                            </GroupBox>
851
                            </GroupBox>
852
                            <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden"/>
852
                            <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden"/>
853
                            <Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="49" Margin="10,532,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" Style="{StaticResource HideSwitchNCButton}"  Tag="{Binding ElementName=tbCtrl}" FontSize="16"/>
853
                            <Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="49" Margin="10,532,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" Style="{StaticResource HideSwitchNCButton}"  Tag="{Binding ElementName=tbCtrl}" FontSize="16"/>
854
                        </Grid>
854
                        </Grid>
855
                    </TabItem>
855
                    </TabItem>
856
                    <TabItem Header="Style" Margin="-0.763,0,-8.193,0">
856
                    <TabItem Header="Style" Margin="-6.849,0,-2.022,0">
857
                        <Grid x:Name="TabGridStyle">
857
                        <Grid x:Name="TabGridStyle">
858
                            <Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/>
858
                            <Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/>
859
                            <Label x:Name="labelUIScale" HorizontalAlignment="Left" Margin="117,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleSlider}">
859
                            <Label x:Name="labelUIScale" HorizontalAlignment="Left" Margin="117,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleSlider}">
860
                                <Label.Style>
860
                                <Label.Style>
861
                                    <Style TargetType="{x:Type Label}">
861
                                    <Style TargetType="{x:Type Label}">
Line 931... Line 931...
931
                                            </DataTrigger>
931
                                            </DataTrigger>
932
                                        </Style.Triggers>
932
                                        </Style.Triggers>
933
                                    </Style>
933
                                    </Style>
934
                                </Label.Style>
934
                                </Label.Style>
935
                            </Label>
935
                            </Label>
936
                            <Button x:Name="buttonUIScaleReset" Content="Reset" HorizontalAlignment="Left" Margin="14,253,0,0" VerticalAlignment="Top" Width="95" Click="buttonUIScaleReset_Click" Height="29"/>
936
                            <Button x:Name="buttonUIScaleReset" Content="Reset" HorizontalAlignment="Left" Margin="14,248,0,0" VerticalAlignment="Top" Width="95" Click="buttonUIScaleReset_Click" Height="29"/>
937
                            <GroupBox x:Name="groupBox1" Header="Topbar items" Margin="14,333,10,0" Foreground="White" BorderThickness="0.5" Height="197" VerticalAlignment="Top">
937
                            <GroupBox x:Name="groupBox1" Header="Topbar items" Margin="14,325,10,0" Foreground="White" BorderThickness="0.5" Height="197" VerticalAlignment="Top">
938
                                <Grid Margin="0,0,0,0">
938
                                <Grid Margin="0,0,0,0">
939
                                    <CheckBox x:Name="chkBoxTopBarShowVoltage" Content="Voltage" Foreground="White" Margin="10,10,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
939
                                    <CheckBox x:Name="chkBoxTopBarShowVoltage" Content="Voltage" Foreground="White" Margin="10,10,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
940
                                    <CheckBox x:Name="chkBoxTopBarShowCapacity" Content="Capacity" Foreground="White" Margin="10,26,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
940
                                    <CheckBox x:Name="chkBoxTopBarShowCapacity" Content="Capacity" Foreground="White" Margin="10,26,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
941
                                    <CheckBox x:Name="chkBoxTopBarShowCurrent" Content="Current" Foreground="White" Margin="10,42,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
941
                                    <CheckBox x:Name="chkBoxTopBarShowCurrent" Content="Current" Foreground="White" Margin="10,42,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
942
                                    <CheckBox x:Name="chkBoxTopBarShowFlightTime" Content="FlightTime" Foreground="White" Margin="10,58,82,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
942
                                    <CheckBox x:Name="chkBoxTopBarShowFlightTime" Content="FlightTime" Foreground="White" Margin="10,58,82,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
Line 946... Line 946...
946
                                    <CheckBox x:Name="chkBoxTopBarShowMF" Content="Magnetic field" Foreground="White" Margin="10,124,70,-2" IsChecked="True" Height="18" VerticalAlignment="Top" />
946
                                    <CheckBox x:Name="chkBoxTopBarShowMF" Content="Magnetic field" Foreground="White" Margin="10,124,70,-2" IsChecked="True" Height="18" VerticalAlignment="Top" />
947
                                    <CheckBox x:Name="chkBoxTopBarShowSatellites" Content="Satellites" Foreground="White" Margin="10,141,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
947
                                    <CheckBox x:Name="chkBoxTopBarShowSatellites" Content="Satellites" Foreground="White" Margin="10,141,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
948
                                    <CheckBox x:Name="chkBoxTopBarShowRC" Content="RC quality" Foreground="White" Margin="10,157,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
948
                                    <CheckBox x:Name="chkBoxTopBarShowRC" Content="RC quality" Foreground="White" Margin="10,157,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
949
                                </Grid>
949
                                </Grid>
950
                            </GroupBox>
950
                            </GroupBox>
951
                            <CheckBox x:Name="chkBoxShowHorizon" Content="Show Horizon/Heading" Foreground="White" Margin="14,551,64,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
951
                            <CheckBox x:Name="chkBoxShowHorizon" Content="Show Horizon/Heading" Foreground="White" Margin="14,541,64,0" IsChecked="True" Height="18" VerticalAlignment="Top" />
952
                            <CheckBox x:Name="chkBoxSaveFullScreenState" Content="save fullscreen&#xD;&#xA;scalings" Foreground="White" Margin="119,287,0,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveFullScreenState_Click" />
952
                            <CheckBox x:Name="chkBoxSaveFullScreenState" Content="save fullscreen&#xD;&#xA;scalings" Foreground="White" Margin="119,285,0,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveFullScreenState_Click" />
953
                            <CheckBox x:Name="chkBoxSaveNormalState" Content="save normal&#xA;window scalings" Foreground="White" Margin="6,287,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" />
953
                            <CheckBox x:Name="chkBoxSaveNormalState" Content="save normal&#xA;window scalings" Foreground="White" Margin="6,285,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" />
954
                        </Grid>
954
                        </Grid>
955
                    </TabItem>
955
                    </TabItem>
956
                    <TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="7.193,0,-17.257,0">
956
                    <TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="1.022,0,-4,0">
957
                        <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226">
957
                        <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226">
958
                            <CheckBox x:Name="checkBoxFollowCopter" Content="follow copter" HorizontalAlignment="Left" Margin="8,510,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered"/>
958
                            <CheckBox x:Name="checkBoxFollowCopter" Content="follow copter" HorizontalAlignment="Left" Margin="8,510,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered"/>
959
                            <CheckBox x:Name="checkBoxAutoSetHP" Content="auto set HP" HorizontalAlignment="Left" Margin="92,422,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="set HP automatically with first satfix" Click="checkBoxAutoSetHP_Click"/>
959
                            <CheckBox x:Name="checkBoxAutoSetHP" Content="auto set HP" HorizontalAlignment="Left" Margin="92,422,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="set HP automatically with first satfix" Click="checkBoxAutoSetHP_Click"/>
960
                            <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut"/>
960
                            <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut"/>
961
                            <Button x:Name="buttonGeoCoding" Content="Go To!" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click"/>
961
                            <Button x:Name="buttonGeoCoding" Content="Go To!" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click"/>
Line 1000... Line 1000...
1000
                                <Button.Background>
1000
                                <Button.Background>
1001
                                    <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/>
1001
                                    <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/>
1002
                                </Button.Background>
1002
                                </Button.Background>
1003
                            </Button>
1003
                            </Button>
1004
                            <Label x:Name="label4_Copy8" Content="load GPX-Log" HorizontalAlignment="Left" Margin="122,511,0,0" VerticalAlignment="Top" Width="86" Foreground="White"/>
1004
                            <Label x:Name="label4_Copy8" Content="load GPX-Log" HorizontalAlignment="Left" Margin="122,511,0,0" VerticalAlignment="Top" Width="86" Foreground="White"/>
1005
                            <Button x:Name="btnClearRoute" Content="clear route" Margin="128,542,18,0" Height="31" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click"/>
1005
                            <Button x:Name="btnClearRoute" Content="clear route" Margin="127,534,19,0" Height="38" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click"/>
1006
                        </Grid>
1006
                        </Grid>
1007
                    </TabItem>
1007
                    </TabItem>
1008
                    <TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="13,0,-13,0" HorizontalAlignment="Left" Width="70">
1008
                    <TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Left" Width="70">
1009
                        <Grid>
1009
                        <Grid>
1010
                            <GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="109" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White">
1010
                            <GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="109" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White">
1011
                                <Grid Margin="0,0,-6,-3.96">
1011
                                <Grid Margin="0,0,-6,-3.96">
1012
                                    <Slider x:Name="sliderThresholdVoltageCrit" HorizontalAlignment="Left" Height="23" Margin="10,65,0,0" VerticalAlignment="Top" Width="177" Maximum="{Binding Value, ElementName=sliderThresholdVoltageWarn}" Minimum="{Binding Minimum, ElementName=sliderThresholdVoltageWarn}" ValueChanged="sliderThresholdVoltageCrit_ValueChanged" TickFrequency="0.1" IsSnapToTickEnabled="True"/>
1012
                                    <Slider x:Name="sliderThresholdVoltageCrit" HorizontalAlignment="Left" Height="23" Margin="10,65,0,0" VerticalAlignment="Top" Width="177" Maximum="{Binding Value, ElementName=sliderThresholdVoltageWarn}" Minimum="{Binding Minimum, ElementName=sliderThresholdVoltageWarn}" ValueChanged="sliderThresholdVoltageCrit_ValueChanged" TickFrequency="0.1" IsSnapToTickEnabled="True"/>
1013
                                    <Label x:Name="labelThresholdVoltageCrit"  HorizontalAlignment="Left" Margin="86,41,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageCrit}">
1013
                                    <Label x:Name="labelThresholdVoltageCrit"  HorizontalAlignment="Left" Margin="86,41,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageCrit}">
Line 1066... Line 1066...
1066
 
1066
 
1067
                                </Grid>
1067
                                </Grid>
1068
                            </GroupBox>
1068
                            </GroupBox>
1069
                        </Grid>
1069
                        </Grid>
-
 
1070
                    </TabItem>
-
 
1071
                    <TabItem Header="Waypoints style" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="104" Margin="-26.5,0,0,0">
-
 
1072
                        <Grid>
-
 
1073
                            <Border Margin="0,10,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="222" Height="206" VerticalAlignment="Top">
-
 
1074
                                <Grid Margin="-0.5,-0.5,-0.5,1.5">
-
 
1075
                                    <ComboBox x:Name="comboBoxFSColor" Height="33" VerticalAlignment="Top" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,161,117,0">
-
 
1076
                                        <ComboBoxItem Content="red"/>
-
 
1077
                                        <ComboBoxItem Content="green"/>
-
 
1078
                                        <ComboBoxItem Content="blue"/>
-
 
1079
                                        <ComboBoxItem Content="yellow"/>
-
 
1080
                                        <ComboBoxItem Content="pink"/>
-
 
1081
                                    </ComboBox>
-
 
1082
                                    <Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,137,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/>
-
 
1083
                                    <ComboBox x:Name="comboBoxWPColor" Height="33" Margin="0,99,117,0" VerticalAlignment="Top" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95">
-
 
1084
                                        <ComboBoxItem Content="red"/>
-
 
1085
                                        <ComboBoxItem Content="green"/>
-
 
1086
                                        <ComboBoxItem Content="blue"/>
-
 
1087
                                        <ComboBoxItem Content="yellow"/>
-
 
1088
                                        <ComboBoxItem Content="pink"/>
-
 
1089
                                    </ComboBox>
-
 
1090
                                    <Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,75,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/>
-
 
1091
                                    <ComboBox x:Name="comboBoxPOIColor" Margin="0,99,12,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top">
-
 
1092
                                        <ComboBoxItem Content="red"/>
-
 
1093
                                        <ComboBoxItem Content="green"/>
-
 
1094
                                        <ComboBoxItem Content="blue"/>
-
 
1095
                                        <ComboBoxItem Content="yellow"/>
-
 
1096
                                        <ComboBoxItem Content="pink"/>
-
 
1097
                                    </ComboBox>
-
 
1098
                                    <Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,75,28,0" VerticalAlignment="Top" Width="80" Foreground="White"/>
-
 
1099
                                    <ComboBox x:Name="comboBoxCopterColor" Margin="0,29,117,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top" DropDownClosed="comboBoxCopterColor_DropDownClosed">
-
 
1100
                                        <ComboBoxItem Content="red"/>
-
 
1101
                                        <ComboBoxItem Content="green"/>
-
 
1102
                                        <ComboBoxItem Content="blue"/>
-
 
1103
                                        <ComboBoxItem Content="yellow"/>
-
 
1104
                                        <ComboBoxItem Content="pink"/>
-
 
1105
                                    </ComboBox>
-
 
1106
                                    <Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,3,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/>
-
 
1107
                                    <ComboBox x:Name="comboBoxRouteColor" Height="33" VerticalAlignment="Top" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Margin="0,161,12,0" DropDownClosed="comboBoxRouteColor_DropDownClosed">
-
 
1108
                                        <ComboBoxItem Content="red"/>
-
 
1109
                                        <ComboBoxItem Content="green"/>
-
 
1110
                                        <ComboBoxItem Content="blue"/>
-
 
1111
                                        <ComboBoxItem Content="yellow"/>
-
 
1112
                                        <ComboBoxItem Content="pink"/>
-
 
1113
                                    </ComboBox>
-
 
1114
                                    <Label x:Name="label4_Copy10" Content="Route color" HorizontalAlignment="Right" Margin="0,135,28,0" VerticalAlignment="Top" Width="80" Foreground="White"/>
-
 
1115
 
-
 
1116
                                </Grid>
-
 
1117
                            </Border>
-
 
1118
 
-
 
1119
                        </Grid>
1070
                    </TabItem>
1120
                    </TabItem>
1071
                </TabControl>
1121
                </TabControl>
1072
            </Grid>
1122
            </Grid>
1073
            <Border BorderThickness="0,2,0,0" Height="2" Margin="0,34,0,0" VerticalAlignment="Top" Visibility="Hidden">
1123
            <Border BorderThickness="0,2,0,0" Height="2" Margin="0,34,0,0" VerticalAlignment="Top" Visibility="Hidden">
1074
                <Border.BorderBrush>
1124
                <Border.BorderBrush>
Line 1127... Line 1177...
1127
                <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/>
1177
                <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/>
1128
                <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/>
1178
                <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/>
1129
                <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/>
1179
                <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/>
1130
                <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/>
1180
                <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/>
1131
            </Grid>
1181
            </Grid>
1132
            <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="500" VerticalAlignment="Top" Visibility="Collapsed">
1182
            <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top" Visibility="Collapsed">
1133
                <Label x:Name="label4" Content="points" HorizontalAlignment="Right" Margin="0,376,41,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="26" HorizontalContentAlignment="Right"/>
1183
                <Label x:Name="label4" Content="points" HorizontalAlignment="Right" Margin="0,376,41,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="26" HorizontalContentAlignment="Right"/>
1134
                <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,382,5,0" VerticalAlignment="Top" Width="38" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16"/>
1184
                <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,382,5,0" VerticalAlignment="Top" Width="38" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16"/>
1135
                <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/>
1185
                <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/>
1136
                <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/>
1186
                <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/>
1137
                <Border Margin="10,370,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="322">
1187
                <Border Margin="10,456,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="640">
1138
                    <Grid Margin="-0.5,-0.5,-0.5,4.5">
1188
                    <Grid Margin="-0.5,-0.5,-0.5,4.5">
1139
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="103,0,0,61" Height="40" VerticalAlignment="Bottom">
1189
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="111,0,0,-1" Height="40" VerticalAlignment="Bottom">
1140
                            <Rectangle.Style>
1190
                            <Rectangle.Style>
1141
                                <Style TargetType="{x:Type Rectangle}">
1191
                                <Style TargetType="{x:Type Rectangle}">
1142
                                    <Style.Triggers>
1192
                                    <Style.Triggers>
1143
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True">
1193
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True">
1144
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1194
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1145
                                        </DataTrigger>
1195
                                        </DataTrigger>
1146
                                    </Style.Triggers>
1196
                                    </Style.Triggers>
1147
                                </Style>
1197
                                </Style>
1148
                            </Rectangle.Style>
1198
                            </Rectangle.Style>
1149
                        </Rectangle>
1199
                        </Rectangle>
1150
                        <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="104,0,0,62" VerticalAlignment="Bottom" Width="92" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}">
1200
                        <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="112,0,0,0" VerticalAlignment="Bottom" Width="92" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}">
1151
                            <Button.Background>
1201
                            <Button.Background>
1152
                                <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/>
1202
                                <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/>
1153
                            </Button.Background>
1203
                            </Button.Background>
1154
                        </Button>
1204
                        </Button>
1155
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="4,0,0,61" Height="40" VerticalAlignment="Bottom">
1205
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="12,0,0,-1" Height="40" VerticalAlignment="Bottom">
1156
                            <Rectangle.Style>
1206
                            <Rectangle.Style>
1157
                                <Style TargetType="{x:Type Rectangle}">
1207
                                <Style TargetType="{x:Type Rectangle}">
1158
                                    <Style.Triggers>
1208
                                    <Style.Triggers>
1159
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True">
1209
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True">
1160
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1210
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1161
                                        </DataTrigger>
1211
                                        </DataTrigger>
1162
                                    </Style.Triggers>
1212
                                    </Style.Triggers>
1163
                                </Style>
1213
                                </Style>
1164
                            </Rectangle.Style>
1214
                            </Rectangle.Style>
1165
                        </Rectangle>
1215
                        </Rectangle>
1166
                        <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="5,0,0,62" VerticalAlignment="Bottom" Width="92" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
1216
                        <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="13,0,0,0" VerticalAlignment="Bottom" Width="92" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
1167
                            <Button.Background>
1217
                            <Button.Background>
1168
                                <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/>
1218
                                <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/>
1169
                            </Button.Background>
1219
                            </Button.Background>
1170
                        </Button>
1220
                        </Button>
1171
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="4,0,0,0" Height="40" VerticalAlignment="Bottom">
1221
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="229,0,0,-1" Height="40" VerticalAlignment="Bottom">
1172
                            <Rectangle.Style>
1222
                            <Rectangle.Style>
1173
                                <Style TargetType="{x:Type Rectangle}">
1223
                                <Style TargetType="{x:Type Rectangle}">
1174
                                    <Style.Triggers>
1224
                                    <Style.Triggers>
1175
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True">
1225
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True">
1176
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1226
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1177
                                        </DataTrigger>
1227
                                        </DataTrigger>
1178
                                    </Style.Triggers>
1228
                                    </Style.Triggers>
1179
                                </Style>
1229
                                </Style>
1180
                            </Rectangle.Style>
1230
                            </Rectangle.Style>
1181
                        </Rectangle>
1231
                        </Rectangle>
1182
                        <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="4,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
1232
                        <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="229,0,0,0" VerticalAlignment="Bottom" Width="94" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
1183
                            <Button.Background>
1233
                            <Button.Background>
1184
                                <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/>
1234
                                <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/>
1185
                            </Button.Background>
1235
                            </Button.Background>
1186
                        </Button>
1236
                        </Button>
1187
                        <Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="98,-2,0,98" VerticalAlignment="Bottom" Width="116" Foreground="White" Height="26"/>
1237
                        <Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="106,0,0,36" VerticalAlignment="Bottom" Width="116" Foreground="White" Height="26"/>
1188
                        <Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="1,-2,0,98" VerticalAlignment="Bottom" Width="86" Foreground="White" Height="26"/>
1238
                        <Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="9,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White" Height="26"/>
1189
                        <Label x:Name="label4_Copy7" Content="load from file" HorizontalAlignment="Left" Margin="0,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White"/>
1239
                        <Label x:Name="label4_Copy7" Content="load from file" HorizontalAlignment="Left" Margin="225,0,0,35" VerticalAlignment="Bottom" Width="86" Foreground="White"/>
1190
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="221,0,0,0" Height="40" VerticalAlignment="Bottom">
1240
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="434,0,0,-1" Height="40" VerticalAlignment="Bottom">
1191
                            <Rectangle.Style>
1241
                            <Rectangle.Style>
1192
                                <Style TargetType="{x:Type Rectangle}">
1242
                                <Style TargetType="{x:Type Rectangle}">
1193
                                    <Style.Triggers>
1243
                                    <Style.Triggers>
1194
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearWPList}" Value="True">
1244
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearWPList}" Value="True">
1195
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1245
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1196
                                        </DataTrigger>
1246
                                        </DataTrigger>
1197
                                    </Style.Triggers>
1247
                                    </Style.Triggers>
1198
                                </Style>
1248
                                </Style>
1199
                            </Rectangle.Style>
1249
                            </Rectangle.Style>
1200
                        </Rectangle>
1250
                        </Rectangle>
1201
                        <Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="221,0,0,2" VerticalAlignment="Bottom" Width="94" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click">
1251
                        <Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="434,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click">
1202
                            <Button.Background>
1252
                            <Button.Background>
1203
                                <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/>
1253
                                <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/>
1204
                            </Button.Background>
1254
                            </Button.Background>
1205
                        </Button>
1255
                        </Button>
1206
                        <Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="217,0,0,36" VerticalAlignment="Bottom" Width="93" Foreground="White"/>
1256
                        <Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="430,0,0,35" VerticalAlignment="Bottom" Width="93" Foreground="White"/>
1207
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="221,0,0,61" Height="40" VerticalAlignment="Bottom">
1257
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="533,0,0,-1" Height="40" VerticalAlignment="Bottom">
1208
                            <Rectangle.Style>
1258
                            <Rectangle.Style>
1209
                                <Style TargetType="{x:Type Rectangle}">
1259
                                <Style TargetType="{x:Type Rectangle}">
1210
                                    <Style.Triggers>
1260
                                    <Style.Triggers>
1211
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearCopterList}" Value="True">
1261
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearCopterList}" Value="True">
1212
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1262
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1213
                                        </DataTrigger>
1263
                                        </DataTrigger>
1214
                                    </Style.Triggers>
1264
                                    </Style.Triggers>
1215
                                </Style>
1265
                                </Style>
1216
                            </Rectangle.Style>
1266
                            </Rectangle.Style>
1217
                        </Rectangle>
1267
                        </Rectangle>
1218
                        <Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="223,0,0,63" VerticalAlignment="Bottom" Width="92" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearCopterList_Click">
1268
                        <Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="535,0,0,1" VerticalAlignment="Bottom" Width="92" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearCopterList_Click">
1219
                            <Button.Background>
1269
                            <Button.Background>
1220
                                <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/>
1270
                                <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/>
1221
                            </Button.Background>
1271
                            </Button.Background>
1222
                        </Button>
1272
                        </Button>
1223
                        <Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="217,-2,0,98" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/>
1273
                        <Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="529,0,0,36" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/>
1224
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="103,0,0,0" Height="40" VerticalAlignment="Bottom">
1274
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="328,0,0,-1" Height="40" VerticalAlignment="Bottom">
1225
                            <Rectangle.Style>
1275
                            <Rectangle.Style>
1226
                                <Style TargetType="{x:Type Rectangle}">
1276
                                <Style TargetType="{x:Type Rectangle}">
1227
                                    <Style.Triggers>
1277
                                    <Style.Triggers>
1228
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True">
1278
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True">
1229
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1279
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1230
                                        </DataTrigger>
1280
                                        </DataTrigger>
1231
                                    </Style.Triggers>
1281
                                    </Style.Triggers>
1232
                                </Style>
1282
                                </Style>
1233
                            </Rectangle.Style>
1283
                            </Rectangle.Style>
1234
                        </Rectangle>
1284
                        </Rectangle>
1235
                        <Button x:Name="btnSaveWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="103,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="save list to *.wpl file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnSaveWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
1285
                        <Button x:Name="btnSaveWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="328,0,0,0" VerticalAlignment="Bottom" Width="94" ToolTip="save list to *.wpl file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnSaveWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}">
1236
                            <Button.Background>
1286
                            <Button.Background>
1237
                                <ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform"/>
1287
                                <ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform"/>
1238
                            </Button.Background>
1288
                            </Button.Background>
1239
                        </Button>
1289
                        </Button>
1240
                        <Label x:Name="label4_Copy13" Content="save to file (.wpl)" HorizontalAlignment="Left" Margin="99,0,0,36" VerticalAlignment="Bottom" Width="98" Foreground="White"/>
1290
                        <Label x:Name="label4_Copy13" Content="save to file (.wpl)" HorizontalAlignment="Left" Margin="324,0,0,35" VerticalAlignment="Bottom" Width="98" Foreground="White"/>
1241
                    </Grid>
1291
                    </Grid>
1242
                </Border>
1292
                </Border>
1243
                <DataGrid x:Name="dgvWP" Margin="10,5,10,143" 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">
1293
                <DataGrid x:Name="dgvWP" Margin="10,5,10,167" 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">
1244
                    <DataGrid.Columns>
1294
                    <DataGrid.Columns>
1245
                        <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/>
1295
                        <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/>
1246
                        <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/>
1296
                        <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/>
1247
                        <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/>
1297
                        <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/>
1248
                        <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/>
1298
                        <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/>
Line 1256... Line 1306...
1256
                        <DataGridTextColumn Header="AutoTrigger" Binding="{Binding Path=AutoTrigger, Converter={StaticResource wpConvert}, ConverterParameter= AutoTrigger}"/>
1306
                        <DataGridTextColumn Header="AutoTrigger" Binding="{Binding Path=AutoTrigger, Converter={StaticResource wpConvert}, ConverterParameter= AutoTrigger}"/>
1257
                        <DataGridTextColumn Header="CamAngle" Binding="{Binding Path=CamAngle, Converter={StaticResource wpConvert}, ConverterParameter= CamAngle}"/>
1307
                        <DataGridTextColumn Header="CamAngle" Binding="{Binding Path=CamAngle, Converter={StaticResource wpConvert}, ConverterParameter= CamAngle}"/>
1258
                        <DataGridTextColumn Header="Out1Timer" Binding="{Binding Path=Out1Timer}"/>
1308
                        <DataGridTextColumn Header="Out1Timer" Binding="{Binding Path=Out1Timer}"/>
1259
                    </DataGrid.Columns>
1309
                    </DataGrid.Columns>
1260
                </DataGrid>
1310
                </DataGrid>
1261
                <Border Margin="0,432,10,4" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="528">
-
 
1262
                    <Grid Margin="9.5,-2.5,-9.5,3.5">
-
 
1263
                        <ComboBox x:Name="comboBoxWPColor" Height="33" Margin="0,0,324,2" VerticalAlignment="Bottom" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95">
-
 
1264
                            <ComboBoxItem Content="red"/>
-
 
1265
                            <ComboBoxItem Content="green"/>
-
 
1266
                            <ComboBoxItem Content="blue"/>
-
 
1267
                            <ComboBoxItem Content="yellow"/>
-
 
1268
                            <ComboBoxItem Content="pink"/>
-
 
1269
                        </ComboBox>
-
 
1270
                        <Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,0,339,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/>
-
 
1271
                        <ComboBox x:Name="comboBoxPOIColor" Margin="0,0,224,2" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Bottom">
-
 
1272
                            <ComboBoxItem Content="red"/>
-
 
1273
                            <ComboBoxItem Content="green"/>
-
 
1274
                            <ComboBoxItem Content="blue"/>
-
 
1275
                            <ComboBoxItem Content="yellow"/>
-
 
1276
                            <ComboBoxItem Content="pink"/>
-
 
1277
                        </ComboBox>
-
 
1278
                        <Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,0,240,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/>
-
 
1279
                        <ComboBox x:Name="comboBoxFSColor" Height="33" VerticalAlignment="Bottom" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,0,124,2">
-
 
1280
                            <ComboBoxItem Content="red"/>
-
 
1281
                            <ComboBoxItem Content="green"/>
-
 
1282
                            <ComboBoxItem Content="blue"/>
-
 
1283
                            <ComboBoxItem Content="yellow"/>
-
 
1284
                            <ComboBoxItem Content="pink"/>
-
 
1285
                        </ComboBox>
-
 
1286
                        <Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,0,141,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/>
-
 
1287
                        <ComboBox x:Name="comboBoxCopterColor" Margin="0,0,430,2" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Bottom" DropDownClosed="comboBoxCopterColor_DropDownClosed">
-
 
1288
                            <ComboBoxItem Content="red"/>
-
 
1289
                            <ComboBoxItem Content="green"/>
-
 
1290
                            <ComboBoxItem Content="blue"/>
-
 
1291
                            <ComboBoxItem Content="yellow"/>
-
 
1292
                            <ComboBoxItem Content="pink"/>
-
 
1293
                        </ComboBox>
-
 
1294
                        <Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,0,445,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/>
-
 
1295
                        <ComboBox x:Name="comboBoxRouteColor" Height="33" VerticalAlignment="Bottom" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Margin="0,0,19,2" DropDownClosed="comboBoxRouteColor_DropDownClosed">
-
 
1296
                            <ComboBoxItem Content="red"/>
-
 
1297
                            <ComboBoxItem Content="green"/>
-
 
1298
                            <ComboBoxItem Content="blue"/>
-
 
1299
                            <ComboBoxItem Content="yellow"/>
-
 
1300
                            <ComboBoxItem Content="pink"/>
-
 
1301
                        </ComboBox>
-
 
1302
                        <Label x:Name="label4_Copy10" Content="route color" HorizontalAlignment="Right" Margin="0,0,36,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/>
-
 
1303
                    </Grid>
-
 
1304
                </Border>
-
 
1305
                <CheckBox x:Name="checkBoxShowWPRoute" Content="show route" HorizontalAlignment="Right" Height="22" Margin="0,410,0,0" VerticalAlignment="Top" Width="84" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click"/>
1311
                <CheckBox x:Name="checkBoxShowWPRoute" Content="show route" HorizontalAlignment="Right" Height="22" Margin="0,504,0,0" VerticalAlignment="Top" Width="84" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click"/>
1306
                <Label x:Name="label4_Copy9" Content="distance" HorizontalAlignment="Right" Margin="0,359,37,0" VerticalAlignment="Top" Width="57" Foreground="White"/>
1312
                <Label x:Name="label4_Copy9" Content="distance" HorizontalAlignment="Right" Margin="0,359,37,0" VerticalAlignment="Top" Width="57" Foreground="White"/>
1307
                <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,364,5,0" VerticalAlignment="Top" Width="38" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0"/>
1313
                <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,364,5,0" VerticalAlignment="Top" Width="38" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0"/>
1308
            </Grid>
1314
            </Grid>
1309
            <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23">
1315
            <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23">
1310
                <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,233,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">
1316
                <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,233,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top">