Rev 2356 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2356 | Rev 2359 | ||
---|---|---|---|
Line 1178... | Line 1178... | ||
1178 | <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"/> |
1179 | <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"/> |
1180 | <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"/> |
1181 | </Grid> |
1181 | </Grid> |
1182 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top"> |
1182 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top"> |
1183 | <Label x:Name="label4" Content="points" HorizontalAlignment="Right" Margin="0,480,46,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="19" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1183 | <Label x:Name="label4" Content="points" HorizontalAlignment="Right" Margin="0,480,51,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="19" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1184 | <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,482,20,0" VerticalAlignment="Top" Width="26" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1184 | <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"/> |
1185 | <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"/> |
1186 | <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"/> |
1187 | <Border Margin="10,456,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="640"> |
1187 | <Border Margin="10,456,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="640"> |
1188 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1188 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1189 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="111,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1189 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="111,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
Line 1197... | Line 1197... | ||
1197 | </Style> |
1197 | </Style> |
1198 | </Rectangle.Style> |
1198 | </Rectangle.Style> |
1199 | </Rectangle> |
1199 | </Rectangle> |
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}"> |
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}"> |
1201 | <Button.Background> |
1201 | <Button.Background> |
1202 | <ImageBrush ImageSource="Images/FromCopterToPc1.png" Stretch="Uniform"/> |
1202 | <ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/> |
1203 | </Button.Background> |
1203 | </Button.Background> |
1204 | </Button> |
1204 | </Button> |
1205 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="12,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1205 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="12,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1206 | <Rectangle.Style> |
1206 | <Rectangle.Style> |
1207 | <Style TargetType="{x:Type Rectangle}"> |
1207 | <Style TargetType="{x:Type Rectangle}"> |
Line 1213... | Line 1213... | ||
1213 | </Style> |
1213 | </Style> |
1214 | </Rectangle.Style> |
1214 | </Rectangle.Style> |
1215 | </Rectangle> |
1215 | </Rectangle> |
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}"> |
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}"> |
1217 | <Button.Background> |
1217 | <Button.Background> |
1218 | <ImageBrush ImageSource="Images/WPToCopter1.png" Stretch="Uniform"/> |
1218 | <ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/> |
1219 | </Button.Background> |
1219 | </Button.Background> |
1220 | </Button> |
1220 | </Button> |
1221 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="229,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1221 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="229,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1222 | <Rectangle.Style> |
1222 | <Rectangle.Style> |
1223 | <Style TargetType="{x:Type Rectangle}"> |
1223 | <Style TargetType="{x:Type Rectangle}"> |
Line 1246... | Line 1246... | ||
1246 | </DataTrigger> |
1246 | </DataTrigger> |
1247 | </Style.Triggers> |
1247 | </Style.Triggers> |
1248 | </Style> |
1248 | </Style> |
1249 | </Rectangle.Style> |
1249 | </Rectangle.Style> |
1250 | </Rectangle> |
1250 | </Rectangle> |
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"> |
1251 | <Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="434,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="clear all items from the local WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click"> |
1252 | <Button.Background> |
1252 | <Button.Background> |
1253 | <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/> |
1253 | <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/> |
1254 | </Button.Background> |
1254 | </Button.Background> |
1255 | </Button> |
1255 | </Button> |
1256 | <Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="430,0,0,35" 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"/> |
Line 1263... | Line 1263... | ||
1263 | </DataTrigger> |
1263 | </DataTrigger> |
1264 | </Style.Triggers> |
1264 | </Style.Triggers> |
1265 | </Style> |
1265 | </Style> |
1266 | </Rectangle.Style> |
1266 | </Rectangle.Style> |
1267 | </Rectangle> |
1267 | </Rectangle> |
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"> |
1268 | <Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="535,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"> |
1269 | <Button.Background> |
1269 | <Button.Background> |
1270 | <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/> |
1270 | <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/> |
1271 | </Button.Background> |
1271 | </Button.Background> |
1272 | </Button> |
1272 | </Button> |
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"/> |
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"/> |
Line 1288... | Line 1288... | ||
1288 | </Button.Background> |
1288 | </Button.Background> |
1289 | </Button> |
1289 | </Button> |
1290 | <Label x:Name="label4_Copy13" Content="save to file (.wpl)" HorizontalAlignment="Left" Margin="324,0,0,35" 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"/> |
1291 | </Grid> |
1291 | </Grid> |
1292 | </Border> |
1292 | </Border> |
1293 | <Border Margin="10,324,0,75" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="941"> |
1293 | <Border Margin="10,340,0,75" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="831"> |
1294 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1294 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1295 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="837,0,0,61" Height="40" VerticalAlignment="Bottom"> |
- | |
1296 | <Rectangle.Style> |
- | |
1297 | <Style TargetType="{x:Type Rectangle}"> |
- | |
1298 | <Style.Triggers> |
- | |
1299 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP}" Value="True"> |
- | |
1300 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
- | |
1301 | </DataTrigger> |
- | |
1302 | </Style.Triggers> |
- | |
1303 | </Style> |
- | |
1304 | </Rectangle.Style> |
- | |
1305 | </Rectangle> |
- | |
1306 | <Button x:Name="btnSendActiveWP" Content="" HorizontalAlignment="Left" Height="36" Margin="838,0,0,62" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click"> |
- | |
1307 | <Button.Background> |
- | |
1308 | <ImageBrush ImageSource="Images/WPToCopter.png" Stretch="Uniform"/> |
- | |
1309 | </Button.Background> |
- | |
1310 | </Button> |
- | |
1311 | <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="10,24,0,0" VerticalAlignment="Top" Width="66"> |
1295 | <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="10,24,0,0" VerticalAlignment="Top" Width="66"> |
1312 | <ComboBoxItem Content="WP"/> |
1296 | <ComboBoxItem Content="WP"/> |
1313 | <ComboBoxItem Content="POI"/> |
1297 | <ComboBoxItem Content="POI"/> |
1314 | <ComboBoxItem Content="Failsafe"/> |
1298 | <ComboBoxItem Content="Failsafe"/> |
1315 | </ComboBox> |
1299 | </ComboBox> |
Line 1362... | Line 1346... | ||
1362 | <ComboBoxItem Content="AUTO"/> |
1346 | <ComboBoxItem Content="AUTO"/> |
1363 | <ComboBoxItem Content="degree"/> |
1347 | <ComboBoxItem Content="degree"/> |
1364 | </ComboBox> |
1348 | </ComboBox> |
1365 | <Label x:Name="label4_Copy26" Content="Out1Timer" HorizontalAlignment="Left" Margin="762,6,0,0" Width="63" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1349 | <Label x:Name="label4_Copy26" Content="Out1Timer" HorizontalAlignment="Left" Margin="762,6,0,0" Width="63" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1366 | <TextBox x:Name="tbWPEditOut1" HorizontalAlignment="Left" Height="22" Margin="762,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center"/> |
1350 | <TextBox x:Name="tbWPEditOut1" HorizontalAlignment="Left" Height="22" Margin="762,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center"/> |
1367 | <Label x:Name="label4_Copy27" Content="send as active WP" HorizontalAlignment="Left" Margin="835,-1,-1,97" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
- | |
1368 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="10,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1351 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="12,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1369 | <Rectangle.Style> |
1352 | <Rectangle.Style> |
1370 | <Style TargetType="{x:Type Rectangle}"> |
1353 | <Style TargetType="{x:Type Rectangle}"> |
1371 | <Style.Triggers> |
1354 | <Style.Triggers> |
1372 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True"> |
1355 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True"> |
1373 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1356 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1374 | </DataTrigger> |
1357 | </DataTrigger> |
1375 | </Style.Triggers> |
1358 | </Style.Triggers> |
1376 | </Style> |
1359 | </Style> |
1377 | </Rectangle.Style> |
1360 | </Rectangle.Style> |
1378 | </Rectangle> |
1361 | </Rectangle> |
1379 | <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="36" Margin="11,0,0,-1" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP2_Click"> |
1362 | <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="36" Margin="13,0,0,-1" VerticalAlignment="Bottom" Width="93" ToolTip="save the changes made to the list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave"> |
1380 | <Button.Background> |
1363 | <Button.Background> |
1381 | <ImageBrush ImageSource="Images/WPToCopter.png" Stretch="Uniform"/> |
1364 | <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform"/> |
1382 | </Button.Background> |
1365 | </Button.Background> |
1383 | </Button> |
1366 | </Button> |
1384 | <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="8,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1367 | <Label x:Name="label4_Copy27" Content="save changes" HorizontalAlignment="Left" Margin="10,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1385 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="837,0,0,2" Height="40" VerticalAlignment="Bottom"> |
1368 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="113,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1386 | <Rectangle.Style> |
1369 | <Rectangle.Style> |
1387 | <Style TargetType="{x:Type Rectangle}"> |
1370 | <Style TargetType="{x:Type Rectangle}"> |
1388 | <Style.Triggers> |
1371 | <Style.Triggers> |
1389 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPo}" Value="True"> |
1372 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True"> |
1390 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1373 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1391 | </DataTrigger> |
1374 | </DataTrigger> |
1392 | </Style.Triggers> |
1375 | </Style.Triggers> |
1393 | </Style> |
1376 | </Style> |
1394 | </Rectangle.Style> |
1377 | </Rectangle.Style> |
1395 | </Rectangle> |
1378 | </Rectangle> |
1396 | <Button x:Name="btnWPEditAddCurrentPos" Content="" HorizontalAlignment="Left" Height="36" Margin="838,0,0,3" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditAddCurrentPos_Click"> |
1379 | <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="36" Margin="114,0,0,-1" VerticalAlignment="Bottom" Width="93" ToolTip="delete WP from list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel"> |
1397 | <Button.Background> |
1380 | <Button.Background> |
1398 | <ImageBrush ImageSource="Images/WPToCopter.png" Stretch="Uniform"/> |
1381 | <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/> |
1399 | </Button.Background> |
1382 | </Button.Background> |
1400 | </Button> |
1383 | </Button> |
1401 | <Label x:Name="label4_Copy28" Content="add current Pos" HorizontalAlignment="Left" Margin="835,0,-1,38" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
1384 | <Label x:Name="label4_Copy30" Content="delete WP" HorizontalAlignment="Left" Margin="111,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1402 | </Grid> |
1385 | </Grid> |
1403 | </Border> |
1386 | </Border> |
1404 | <DataGrid x:Name="dgvWP" Margin="10,5,10,207" 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"> |
1387 | <DataGrid x:Name="dgvWP" Margin="10,5,10,191" 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"> |
1405 | <DataGrid.Columns> |
1388 | <DataGrid.Columns> |
1406 | <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/> |
1389 | <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/> |
1407 | <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/> |
1390 | <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/> |
1408 | <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/> |
1391 | <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/> |
1409 | <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/> |
1392 | <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/> |
Line 1418... | Line 1401... | ||
1418 | <DataGridTextColumn Header="CamAngle" Binding="{Binding Path=CamAngle, Converter={StaticResource wpConvert}, ConverterParameter= CamAngle}"/> |
1401 | <DataGridTextColumn Header="CamAngle" Binding="{Binding Path=CamAngle, Converter={StaticResource wpConvert}, ConverterParameter= CamAngle}"/> |
1419 | <DataGridTextColumn Header="Out1Timer" Binding="{Binding Path=Out1Timer}"/> |
1402 | <DataGridTextColumn Header="Out1Timer" Binding="{Binding Path=Out1Timer}"/> |
1420 | </DataGrid.Columns> |
1403 | </DataGrid.Columns> |
1421 | </DataGrid> |
1404 | </DataGrid> |
1422 | <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"/> |
1405 | <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"/> |
1423 | <Label x:Name="label4_Copy9" Content="distance" HorizontalAlignment="Right" Margin="0,462,46,0" VerticalAlignment="Top" Width="57" Foreground="White" Padding="0" Height="18" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" FontSize="13"/> |
1406 | <Label x:Name="label4_Copy9" Content="distance" HorizontalAlignment="Right" Margin="0,462,51,0" VerticalAlignment="Top" Width="57" Foreground="White" Padding="0" Height="18" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" FontSize="13"/> |
1424 | <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,463,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1407 | <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,463,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1425 | <Label x:Name="label4_Copy14" Content="points NC (w/o POI)" HorizontalAlignment="Right" Margin="0,461,138,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1408 | <Label x:Name="label4_Copy14" Content="points NC (w/o POI)" HorizontalAlignment="Right" Margin="0,461,143,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1426 | <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,463,113,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1409 | <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,463,118,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1427 | <Label x:Name="label4_Copy15" Content="Index NC" HorizontalAlignment="Right" Margin="0,480,138,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1410 | <Label x:Name="label4_Copy15" Content="Index NC" HorizontalAlignment="Right" Margin="0,480,143,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1428 | <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,482,113,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1411 | <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,482,118,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
- | 1412 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="857,0,0,135" Height="40" VerticalAlignment="Bottom"> |
|
- | 1413 | <Rectangle.Style> |
|
- | 1414 | <Style TargetType="{x:Type Rectangle}"> |
|
- | 1415 | <Style.Triggers> |
|
- | 1416 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True"> |
|
- | 1417 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
|
- | 1418 | </DataTrigger> |
|
- | 1419 | </Style.Triggers> |
|
- | 1420 | </Style> |
|
- | 1421 | </Rectangle.Style> |
|
- | 1422 | </Rectangle> |
|
- | 1423 | <Button x:Name="btnWPEditAddCurrentPos" Content="" HorizontalAlignment="Left" Height="36" Margin="858,0,0,136" VerticalAlignment="Bottom" Width="93" ToolTip="add current copter position to WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditAddCurrentPos_Click"> |
|
- | 1424 | <Button.Background> |
|
- | 1425 | <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform"/> |
|
- | 1426 | </Button.Background> |
|
- | 1427 | </Button> |
|
- | 1428 | <Label x:Name="label4_Copy28" Content="add current Pos" HorizontalAlignment="Left" Margin="855,0,-1,171" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
|
- | 1429 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="857,0,0,75" Height="40" VerticalAlignment="Bottom"> |
|
- | 1430 | <Rectangle.Style> |
|
- | 1431 | <Style TargetType="{x:Type Rectangle}"> |
|
- | 1432 | <Style.Triggers> |
|
- | 1433 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True"> |
|
- | 1434 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
|
- | 1435 | </DataTrigger> |
|
- | 1436 | </Style.Triggers> |
|
- | 1437 | </Style> |
|
- | 1438 | </Rectangle.Style> |
|
- | 1439 | </Rectangle> |
|
- | 1440 | <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="36" Margin="858,0,0,76" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click"> |
|
- | 1441 | <Button.Background> |
|
- | 1442 | <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/> |
|
- | 1443 | </Button.Background> |
|
- | 1444 | </Button> |
|
- | 1445 | <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="855,0,0,111" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
|
1429 | </Grid> |
1446 | </Grid> |
1430 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1447 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1431 | <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"> |
1448 | <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"> |
1432 | <Label.RenderTransform> |
1449 | <Label.RenderTransform> |
1433 | <TransformGroup> |
1450 | <TransformGroup> |