Subversion Repositories Projects

Rev

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

Rev 2431 Rev 2432
Line 387... Line 387...
387
                </DataTrigger>
387
                </DataTrigger>
388
            </Style.Triggers>
388
            </Style.Triggers>
389
        </Style>
389
        </Style>
390
    </Window.Resources>
390
    </Window.Resources>
391
    <Grid>
391
    <Grid>
392
        <Grid x:Name="GridGMapControl" TouchDown="OnPreviewTouchDown">
392
        <Grid x:Name="GridGMapControl" TouchDown="OnPreviewTouchDown" PreviewMouseLeftButtonDown="GridGMapControl_PreviewMouseLeftButtonDown">
393
            <WindowsPresentation:GMapControl x:Name="MainMap" Loaded="MainMap_Loaded" OnPositionChanged="MainMap_OnPositionChanged" OnMapZoomChanged="MainMap_OnMapZoomChanged" StylusDown="MainMap_StylusDown" StylusUp="MainMap_StylusUp" StylusMove="MainMap_StylusMove"/>
393
            <WindowsPresentation:GMapControl x:Name="MainMap" Loaded="MainMap_Loaded" OnPositionChanged="MainMap_OnPositionChanged" OnMapZoomChanged="MainMap_OnMapZoomChanged" StylusDown="MainMap_StylusDown" StylusUp="MainMap_StylusUp" StylusMove="MainMap_StylusMove"/>
-
 
394
            <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">
-
 
395
                <Button x:Name="btnCmAddWP" Content="add waypoint" Height="40" Canvas.Left="10" Canvas.Top="10" Width="117" Click="btnCmAddWP_Click"/>
-
 
396
                <Button x:Name="btnCmAddLanding" Content="add landingpoint" Height="40" Canvas.Left="10" Canvas.Top="55" Width="117" Click="btnCmAddLanding_Click"/>
-
 
397
                <Button x:Name="btnCmAddFailsave" Content="add failsavepoint" Height="40" Canvas.Left="10" Canvas.Top="100" Width="117" Click="btnCmAddFailsave_Click"/>
-
 
398
                <Button x:Name="btnCmAddPOI" Content="add POI" Height="40" Canvas.Left="10" Canvas.Top="146" Width="117" Click="btnCmAddPOI_Click"/>
-
 
399
            </Canvas>
394
        </Grid>
400
        </Grid>
395
        <Grid>
401
        <Grid>
396
            <Grid.LayoutTransform>
402
            <Grid.LayoutTransform>
397
                <ScaleTransform
403
                <ScaleTransform
398
					CenterX="0"
404
					CenterX="0"
Line 592... Line 598...
592
                            </Style.Triggers>
598
                            </Style.Triggers>
593
                        </Style>
599
                        </Style>
594
                    </Label.Style>
600
                    </Label.Style>
595
                </Label>
601
                </Label>
596
            </Grid>
602
            </Grid>
597
            <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" >
603
            <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" Visibility="Collapsed" >
598
                <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0">
604
                <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0">
599
                    <TabItem Header="Analog">
605
                    <TabItem Header="Analog">
600
                        <Grid>
606
                        <Grid>
601
                            <TextBlock x:Name="tbVolt" HorizontalAlignment="Left" Height="23" Margin="110,42,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
607
                            <TextBlock x:Name="tbVolt" HorizontalAlignment="Left" Height="23" Margin="110,42,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
602
                            <TextBlock x:Name="tbCur" HorizontalAlignment="Left" Height="23" Margin="110,60,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
608
                            <TextBlock x:Name="tbCur" HorizontalAlignment="Left" Height="23" Margin="110,60,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/>
Line 1354... Line 1360...
1354
                            </Button.Background>
1360
                            </Button.Background>
1355
                        </Button>
1361
                        </Button>
1356
                        <Label x:Name="label4_Copy13" Content="save file" HorizontalAlignment="Left" Margin="290,0,0,35" VerticalAlignment="Bottom" Width="71" Foreground="White"/>
1362
                        <Label x:Name="label4_Copy13" Content="save file" HorizontalAlignment="Left" Margin="290,0,0,35" VerticalAlignment="Bottom" Width="71" Foreground="White"/>
1357
                    </Grid>
1363
                    </Grid>
1358
                </Border>
1364
                </Border>
1359
                <Border Margin="6,338,0,73" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="840">
1365
                <Border Margin="6,331,0,73" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="840">
1360
                    <Grid Margin="-0.5,-0.5,-0.5,4.5">
1366
                    <Grid Margin="-0.5,-0.5,-0.5,4.5">
1361
                        <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="27,24,0,0" VerticalAlignment="Top" Width="66">
1367
                        <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="28,22,0,0" VerticalAlignment="Top" Width="66">
1362
                            <ComboBoxItem Content="WP"/>
1368
                            <ComboBoxItem Content="WP"/>
1363
                            <ComboBoxItem Content="POI"/>
1369
                            <ComboBoxItem Content="POI"/>
1364
                            <ComboBoxItem Content="Failsafe"/>
1370
                            <ComboBoxItem Content="Failsafe"/>
1365
                            <ComboBoxItem Content="Landing"/>
1371
                            <ComboBoxItem Content="Landing"/>
1366
                        </ComboBox>
1372
                        </ComboBox>
1367
                        <Label x:Name="label4a" Content="Type" HorizontalAlignment="Left" Margin="28,6,0,0" Width="39" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1373
                        <Label x:Name="label4a" Content="Type" HorizontalAlignment="Left" Margin="29,4,0,0" Width="39" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1368
                        <Label x:Name="label4b" Content="Prefix" HorizontalAlignment="Left" Margin="98,6,0,0" Width="35" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1374
                        <Label x:Name="label4b" Content="Prefix" HorizontalAlignment="Left" Margin="99,4,0,0" Width="35" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1369
                        <TextBox x:Name="tbWPEditPrefix" HorizontalAlignment="Left" Height="22" Margin="98,24,0,0" VerticalAlignment="Top" Width="29" IsUndoEnabled="False" MaxLines="1" MaxLength="1" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" IsTabStop="False"/>
1375
                        <TextBox x:Name="tbWPEditPrefix" HorizontalAlignment="Left" Height="22" Margin="99,22,0,0" VerticalAlignment="Top" Width="29" IsUndoEnabled="False" MaxLines="1" MaxLength="1" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" IsTabStop="False"/>
1370
                        <Label x:Name="label4_Copy16" Content="Latitude" HorizontalAlignment="Left" Margin="132,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1376
                        <Label x:Name="label4_Copy16" Content="Latitude" HorizontalAlignment="Left" Margin="133,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1371
                        <TextBox x:Name="tbWPEditLat" HorizontalAlignment="Left" Height="22" Margin="132,24,0,0" VerticalAlignment="Top" Width="76" 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" />
1377
                        <TextBox x:Name="tbWPEditLat" HorizontalAlignment="Left" Height="22" Margin="133,22,0,0" VerticalAlignment="Top" Width="76" 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" />
1372
                        <Label x:Name="label4_Copy17" Content="Longitude" HorizontalAlignment="Left" Margin="213,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1378
                        <Label x:Name="label4_Copy17" Content="Longitude" HorizontalAlignment="Left" Margin="214,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1373
                        <TextBox x:Name="tbWPEditLon" HorizontalAlignment="Left" Height="22" Margin="213,24,0,0" VerticalAlignment="Top" Width="76" 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"/>
1379
                        <TextBox x:Name="tbWPEditLon" HorizontalAlignment="Left" Height="22" Margin="214,22,0,0" VerticalAlignment="Top" Width="76" 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"/>
1374
                        <Label x:Name="label4_Copy18" Content="Altitude" HorizontalAlignment="Left" Margin="294,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1380
                        <Label x:Name="label4_Copy18" Content="Altitude" HorizontalAlignment="Left" Margin="295,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1375
                        <TextBox x:Name="tbWPEditAlt" HorizontalAlignment="Left" Height="22" Margin="294,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1381
                        <TextBox x:Name="tbWPEditAlt" HorizontalAlignment="Left" Height="22" Margin="295,22,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1376
                        <Label x:Name="label4_Copy19" Content="Heading" HorizontalAlignment="Left" Margin="341,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1382
                        <Label x:Name="label4_Copy19" Content="Heading" HorizontalAlignment="Left" Margin="342,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1377
                        <TextBox x:Name="tbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="341,24,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1383
                        <TextBox x:Name="tbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="342,22,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1378
                        <Label x:Name="label4_Copy20" Content="Speed" HorizontalAlignment="Left" Margin="415,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1384
                        <Label x:Name="label4_Copy20" Content="Speed" HorizontalAlignment="Left" Margin="416,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1379
                        <TextBox x:Name="tbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="415,24,0,0" VerticalAlignment="Top" Width="65" IsUndoEnabled="False" MaxLines="1" MaxLength="6" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1385
                        <TextBox x:Name="tbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="416,22,0,0" VerticalAlignment="Top" Width="65" IsUndoEnabled="False" MaxLines="1" MaxLength="6" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1380
                        <ComboBox x:Name="cbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="394,51,0,0" VerticalAlignment="Top" Width="65">
1386
                        <ComboBox x:Name="cbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="416,45,0,0" VerticalAlignment="Top" Width="65">
1381
                            <ComboBoxItem Content="MAX"/>
1387
                            <ComboBoxItem Content="MAX"/>
1382
                            <ComboBoxItem Content="m/s"/>
1388
                            <ComboBoxItem Content="m/s"/>
1383
                            <ComboBoxItem Content="Poti 1"/>
1389
                            <ComboBoxItem Content="Poti 1"/>
1384
                            <ComboBoxItem Content="Poti 2"/>
1390
                            <ComboBoxItem Content="Poti 2"/>
1385
                            <ComboBoxItem Content="Poti 3"/>
1391
                            <ComboBoxItem Content="Poti 3"/>
Line 1387... Line 1393...
1387
                            <ComboBoxItem Content="Poti 5"/>
1393
                            <ComboBoxItem Content="Poti 5"/>
1388
                            <ComboBoxItem Content="Poti 6"/>
1394
                            <ComboBoxItem Content="Poti 6"/>
1389
                            <ComboBoxItem Content="Poti 7"/>
1395
                            <ComboBoxItem Content="Poti 7"/>
1390
                            <ComboBoxItem Content="Poti 8"/>
1396
                            <ComboBoxItem Content="Poti 8"/>
1391
                        </ComboBox>
1397
                        </ComboBox>
1392
                        <ComboBox x:Name="cbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="320,51,0,0" VerticalAlignment="Top" Width="69">
1398
                        <ComboBox x:Name="cbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="342,45,0,0" VerticalAlignment="Top" Width="69">
1393
                            <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/>
1399
                            <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/>
1394
                            <ComboBoxItem Content="WP/POI"/>
1400
                            <ComboBoxItem Content="WP/POI"/>
1395
                            <ComboBoxItem Content="degree"/>
1401
                            <ComboBoxItem Content="degree"/>
1396
                        </ComboBox>
1402
                        </ComboBox>
1397
                        <Label x:Name="label4_Copy21" Content="Climbrate" HorizontalAlignment="Left" Margin="485,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1403
                        <Label x:Name="label4_Copy21" Content="Climbrate" HorizontalAlignment="Left" Margin="486,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1398
                        <TextBox x:Name="tbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="485,24,0,0" VerticalAlignment="Top" Width="61" IsUndoEnabled="False" MaxLines="1" MaxLength="4" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1404
                        <TextBox x:Name="tbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="486,22,0,0" VerticalAlignment="Top" Width="61" IsUndoEnabled="False" MaxLines="1" MaxLength="4" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1399
                        <ComboBox x:Name="cbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="464,51,0,0" VerticalAlignment="Top" Width="61">
1405
                        <ComboBox x:Name="cbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="486,45,0,0" VerticalAlignment="Top" Width="61">
1400
                            <ComboBoxItem Content="AUTO"/>
1406
                            <ComboBoxItem Content="AUTO"/>
1401
                            <ComboBoxItem Content="m/s"/>
1407
                            <ComboBoxItem Content="m/s"/>
1402
                        </ComboBox>
1408
                        </ComboBox>
1403
                        <Label x:Name="label4_Copy22" Content="Radius" HorizontalAlignment="Left" Margin="551,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1409
                        <Label x:Name="label4_Copy22" Content="Radius" HorizontalAlignment="Left" Margin="552,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1404
                        <TextBox x:Name="tbWPEditRadius" HorizontalAlignment="Left" Height="22" Margin="551,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="3" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1410
                        <TextBox x:Name="tbWPEditRadius" HorizontalAlignment="Left" Height="22" Margin="552,22,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="3" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1405
                        <Label x:Name="label4_Copy23" Content="Holdtime" HorizontalAlignment="Left" Margin="598,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1411
                        <Label x:Name="label4_Copy23" Content="Holdtime" HorizontalAlignment="Left" Margin="599,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1406
                        <TextBox x:Name="tbWPEditHoldtime" HorizontalAlignment="Left" Height="22" Margin="598,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1412
                        <TextBox x:Name="tbWPEditHoldtime" HorizontalAlignment="Left" Height="22" Margin="599,22,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1407
                        <Label x:Name="label4_Copy24" Content="AutoTrig" HorizontalAlignment="Left" Margin="652,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1413
                        <Label x:Name="label4_Copy24" Content="AutoTrig" HorizontalAlignment="Left" Margin="653,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1408
                        <TextBox x:Name="tbWPEditAutoTrigger" HorizontalAlignment="Left" Height="22" Margin="652,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1414
                        <TextBox x:Name="tbWPEditAutoTrigger" HorizontalAlignment="Left" Height="22" Margin="653,22,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1409
                        <Label x:Name="label4_Copy25" Content="CamAngle" HorizontalAlignment="Left" Margin="705,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1415
                        <Label x:Name="label4_Copy25" Content="CamAngle" HorizontalAlignment="Left" Margin="706,4,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1410
                        <TextBox x:Name="tbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="705,24,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1416
                        <TextBox x:Name="tbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="706,22,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1411
                        <ComboBox x:Name="cbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="684,51,0,0" VerticalAlignment="Top" Width="69">
1417
                        <ComboBox x:Name="cbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="706,45,0,0" VerticalAlignment="Top" Width="69">
1412
                            <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/>
1418
                            <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/>
1413
                            <ComboBoxItem Content="AUTO"/>
1419
                            <ComboBoxItem Content="AUTO"/>
1414
                            <ComboBoxItem Content="degree"/>
1420
                            <ComboBoxItem Content="degree"/>
1415
                        </ComboBox>
1421
                        </ComboBox>
1416
                        <Label x:Name="label4_Copy26" Content="Out1Timer" HorizontalAlignment="Left" Margin="779,6,-2,0" Width="63" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1422
                        <Label x:Name="label4_Copy26" Content="Out1Timer" HorizontalAlignment="Left" Margin="780,4,-3,0" Width="63" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/>
1417
                        <TextBox x:Name="tbWPEditOut1" HorizontalAlignment="Left" Height="22" Margin="779,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1423
                        <TextBox x:Name="tbWPEditOut1" HorizontalAlignment="Left" Height="22" Margin="780,22,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/>
1418
                        <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="7,0,0,-2" Height="40" VerticalAlignment="Bottom">
1424
                        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="63,0,0,-2" Height="31" VerticalAlignment="Bottom">
1419
                            <Rectangle.Style>
1425
                            <Rectangle.Style>
1420
                                <Style TargetType="{x:Type Rectangle}">
1426
                                <Style TargetType="{x:Type Rectangle}">
1421
                                    <Style.Triggers>
1427
                                    <Style.Triggers>
1422
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True">
1428
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True">
1423
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1429
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1424
                                        </DataTrigger>
1430
                                        </DataTrigger>
1425
                                    </Style.Triggers>
1431
                                    </Style.Triggers>
1426
                                </Style>
1432
                                </Style>
1427
                            </Rectangle.Style>
1433
                            </Rectangle.Style>
1428
                        </Rectangle>
1434
                        </Rectangle>
1429
                        <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="36" Margin="8,0,0,-1" VerticalAlignment="Bottom" Width="80" ToolTip="save the changes made to the list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave_Click">
1435
                        <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="26" Margin="65,0,0,0" VerticalAlignment="Bottom" Width="71" ToolTip="save the changes made to the list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave_Click">
1430
                            <Button.Background>
1436
                            <Button.Background>
1431
                                <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform"/>
1437
                                <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform"/>
1432
                            </Button.Background>
1438
                            </Button.Background>
1433
                        </Button>
1439
                        </Button>
1434
                        <Label x:Name="label4_Copy27" Content="save changes" HorizontalAlignment="Left" Margin="5,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1440
                        <Label x:Name="label4_Copy27" Content="save changes" HorizontalAlignment="Left" Margin="61,0,0,26" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1435
                        <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="92,0,0,-2" Height="40" VerticalAlignment="Bottom">
1441
                        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="141,0,0,-2" Height="31" VerticalAlignment="Bottom" ToolTip="add WP to list">
1436
                            <Rectangle.Style>
1442
                            <Rectangle.Style>
1437
                                <Style TargetType="{x:Type Rectangle}">
1443
                                <Style TargetType="{x:Type Rectangle}">
1438
                                    <Style.Triggers>
1444
                                    <Style.Triggers>
1439
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPDel}" Value="True">
1445
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPAdd}" Value="True">
1440
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1446
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1441
                                        </DataTrigger>
1447
                                        </DataTrigger>
1442
                                    </Style.Triggers>
1448
                                    </Style.Triggers>
1443
                                </Style>
1449
                                </Style>
1444
                            </Rectangle.Style>
1450
                            </Rectangle.Style>
1445
                        </Rectangle>
1451
                        </Rectangle>
1446
                        <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="36" Margin="92,0,0,-1" VerticalAlignment="Bottom" Width="81" ToolTip="delete WP from list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel_Click">
1452
                        <Button x:Name="btnEditWPAdd" HorizontalAlignment="Left" Height="29" Margin="141,0,0,-1" 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}">
1447
                            <Button.Background>
1453
                            <Button.RenderTransform>
-
 
1454
                                <TransformGroup>
-
 
1455
                                    <ScaleTransform/>
-
 
1456
                                    <SkewTransform/>
1448
                                <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/>
1457
                                    <RotateTransform Angle="0.013"/>
-
 
1458
                                    <TranslateTransform/>
-
 
1459
                                </TransformGroup>
1449
                            </Button.Background>
1460
                            </Button.RenderTransform>
-
 
1461
                            <Image x:Name="image" Height="23" Width="26" Source="Images/Delete.png" RenderTransformOrigin="0.5,0.5">
-
 
1462
                                <Image.RenderTransform>
-
 
1463
                                    <TransformGroup>
-
 
1464
                                        <ScaleTransform/>
-
 
1465
                                        <SkewTransform/>
-
 
1466
                                        <RotateTransform Angle="45"/>
-
 
1467
                                        <TranslateTransform/>
-
 
1468
                                    </TransformGroup>
-
 
1469
                                </Image.RenderTransform>
-
 
1470
                            </Image>
1450
                        </Button>
1471
                        </Button>
1451
                        <Label x:Name="label4_Copy30" Content="delete WP" HorizontalAlignment="Left" Margin="92,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1472
                        <Label x:Name="label4_Copy30" Content="add WP" HorizontalAlignment="Left" Margin="142,0,0,26" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1452
                        <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="562,0,0,-2" Height="40" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
1473
                        <Rectangle HorizontalAlignment="Left" Width="78" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="753,0,0,-2" Height="31" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
1453
                            <Rectangle.Style>
1474
                            <Rectangle.Style>
1454
                                <Style TargetType="{x:Type Rectangle}">
1475
                                <Style TargetType="{x:Type Rectangle}">
1455
                                    <Style.Triggers>
1476
                                    <Style.Triggers>
1456
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True">
1477
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True">
1457
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1478
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1458
                                        </DataTrigger>
1479
                                        </DataTrigger>
1459
                                    </Style.Triggers>
1480
                                    </Style.Triggers>
1460
                                </Style>
1481
                                </Style>
1461
                            </Rectangle.Style>
1482
                            </Rectangle.Style>
1462
                        </Rectangle>
1483
                        </Rectangle>
1463
                        <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="36" Margin="563,0,0,-1" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click">
1484
                        <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="28" Margin="754,0,0,-1" VerticalAlignment="Bottom" Width="77" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click">
1464
                            <Button.Background>
1485
                            <Button.Background>
1465
                                <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/>
1486
                                <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/>
1466
                            </Button.Background>
1487
                            </Button.Background>
1467
                        </Button>
1488
                        </Button>
1468
                        <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="560,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1489
                        <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="746,0,-2,26" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1469
                        <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="190,0,0,-2" Height="40" VerticalAlignment="Bottom">
1490
                        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="667,0,0,-2" Height="31" VerticalAlignment="Bottom">
1470
                            <Rectangle.Style>
1491
                            <Rectangle.Style>
1471
                                <Style TargetType="{x:Type Rectangle}">
1492
                                <Style TargetType="{x:Type Rectangle}">
1472
                                    <Style.Triggers>
1493
                                    <Style.Triggers>
1473
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSendToCopter}" Value="True">
1494
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSendToCopter}" Value="True">
1474
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1495
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1475
                                        </DataTrigger>
1496
                                        </DataTrigger>
1476
                                    </Style.Triggers>
1497
                                    </Style.Triggers>
1477
                                </Style>
1498
                                </Style>
1478
                            </Rectangle.Style>
1499
                            </Rectangle.Style>
1479
                        </Rectangle>
1500
                        </Rectangle>
1480
                        <Button x:Name="btnEditWPSendToCopter" Content="" HorizontalAlignment="Left" Height="36" Margin="190,0,0,-1" VerticalAlignment="Bottom" Width="81" ToolTip="send selected WP to copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSendToCopter_Click">
1501
                        <Button x:Name="btnEditWPSendToCopter" Content="" HorizontalAlignment="Left" Height="28" Margin="667,0,0,-1" VerticalAlignment="Bottom" Width="75" ToolTip="send selected WP to copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSendToCopter_Click">
1481
                            <Button.Background>
1502
                            <Button.Background>
1482
                                <ImageBrush ImageSource="Images/SendToCopter.png" Stretch="Uniform"/>
1503
                                <ImageBrush ImageSource="Images/SendToCopter.png" Stretch="Uniform"/>
1483
                            </Button.Background>
1504
                            </Button.Background>
1484
                        </Button>
1505
                        </Button>
1485
                        <Label x:Name="label4_Copy34" Content="send to copter" HorizontalAlignment="Left" Margin="190,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1506
                        <Label x:Name="label4_Copy34" Content="send to copter" HorizontalAlignment="Left" Margin="662,0,0,26" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1486
                        <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="786,0,0,-2" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
1507
                        <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="5,0,0,36" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
1487
                            <Rectangle.Style>
1508
                            <Rectangle.Style>
1488
                                <Style TargetType="{x:Type Rectangle}">
1509
                                <Style TargetType="{x:Type Rectangle}">
1489
                                    <Style.Triggers>
1510
                                    <Style.Triggers>
1490
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveUp}" Value="True">
1511
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveUp}" Value="True">
1491
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1512
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1492
                                        </DataTrigger>
1513
                                        </DataTrigger>
1493
                                    </Style.Triggers>
1514
                                    </Style.Triggers>
1494
                                </Style>
1515
                                </Style>
1495
                            </Rectangle.Style>
1516
                            </Rectangle.Style>
1496
                        </Rectangle>
1517
                        </Rectangle>
1497
                        <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="796,0,0,12" HorizontalAlignment="Left" VerticalAlignment="Bottom">
1518
                        <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="15,0,0,50" HorizontalAlignment="Left" VerticalAlignment="Bottom">
1498
                            <ed:LineArrow.RenderTransform>
1519
                            <ed:LineArrow.RenderTransform>
1499
                                <TransformGroup>
1520
                                <TransformGroup>
1500
                                    <ScaleTransform/>
1521
                                    <ScaleTransform/>
1501
                                    <SkewTransform/>
1522
                                    <SkewTransform/>
1502
                                    <RotateTransform Angle="-90"/>
1523
                                    <RotateTransform Angle="-90"/>
1503
                                    <TranslateTransform/>
1524
                                    <TranslateTransform/>
1504
                                </TransformGroup>
1525
                                </TransformGroup>
1505
                            </ed:LineArrow.RenderTransform>
1526
                            </ed:LineArrow.RenderTransform>
1506
                        </ed:LineArrow>
1527
                        </ed:LineArrow>
1507
                        <Button x:Name="btnWPEditmoveUp" HorizontalAlignment="Left" Height="34" Margin="786,0,0,-2" 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">
1528
                        <Button x:Name="btnWPEditmoveUp" HorizontalAlignment="Left" Height="34" Margin="5,0,0,36" 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">
1508
                        </Button>
1529
                        </Button>
1509
                        <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="737,0,0,-2" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
1530
                        <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="5,0,0,-1" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525">
1510
                            <Rectangle.Style>
1531
                            <Rectangle.Style>
1511
                                <Style TargetType="{x:Type Rectangle}">
1532
                                <Style TargetType="{x:Type Rectangle}">
1512
                                    <Style.Triggers>
1533
                                    <Style.Triggers>
1513
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveDown}" Value="True">
1534
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveDown}" Value="True">
1514
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1535
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
1515
                                        </DataTrigger>
1536
                                        </DataTrigger>
1516
                                    </Style.Triggers>
1537
                                    </Style.Triggers>
1517
                                </Style>
1538
                                </Style>
1518
                            </Rectangle.Style>
1539
                            </Rectangle.Style>
1519
                        </Rectangle>
1540
                        </Rectangle>
1520
                        <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="748,93,67,17">
1541
                        <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="15,0,800,18" VerticalAlignment="Bottom">
1521
                            <ed:LineArrow.RenderTransform>
1542
                            <ed:LineArrow.RenderTransform>
1522
                                <TransformGroup>
1543
                                <TransformGroup>
1523
                                    <ScaleTransform/>
1544
                                    <ScaleTransform/>
1524
                                    <SkewTransform/>
1545
                                    <SkewTransform/>
1525
                                    <RotateTransform Angle="90"/>
1546
                                    <RotateTransform Angle="90"/>
1526
                                    <TranslateTransform/>
1547
                                    <TranslateTransform/>
1527
                                </TransformGroup>
1548
                                </TransformGroup>
1528
                            </ed:LineArrow.RenderTransform>
1549
                            </ed:LineArrow.RenderTransform>
1529
                        </ed:LineArrow>
1550
                        </ed:LineArrow>
1530
                        <Button x:Name="btnWPEditmoveDown" HorizontalAlignment="Left" Height="34" Margin="737,0,0,-2" VerticalAlignment="Bottom" Width="44" ToolTip="move WP down in list (index +1)" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditmoveDown_Click" Padding="14,1" Background="#00000000">
1551
                        <Button x:Name="btnWPEditmoveDown" HorizontalAlignment="Left" Margin="5,0,0,-1" 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"/>
-
 
1552
                        <Label x:Name="lblWPEditIndex" Content="##" HorizontalAlignment="Left" Height="23" Margin="-1,20,0,0" VerticalAlignment="Top" Width="29" Foreground="White" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"/>
-
 
1553
                        <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="219,0,0,-2" Height="31" VerticalAlignment="Bottom">
-
 
1554
                            <Rectangle.Style>
-
 
1555
                                <Style TargetType="{x:Type Rectangle}">
-
 
1556
                                    <Style.Triggers>
-
 
1557
                                        <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPDel}" Value="True">
-
 
1558
                                            <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
-
 
1559
                                        </DataTrigger>
-
 
1560
                                    </Style.Triggers>
-
 
1561
                                </Style>
-
 
1562
                            </Rectangle.Style>
-
 
1563
                        </Rectangle>
-
 
1564
                        <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="25" Margin="223,0,0,1" VerticalAlignment="Bottom" Width="68" ToolTip="delete WP from list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel_Click">
-
 
1565
                            <Button.Background>
-
 
1566
                                <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/>
-
 
1567
                            </Button.Background>
1531
                        </Button>
1568
                        </Button>
1532
                        <Label x:Name="lblWPEditIndex" Content="##" HorizontalAlignment="Left" Height="23" Margin="-2,22,0,0" VerticalAlignment="Top" Width="29" Foreground="White" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"/>
1569
                        <Label x:Name="label4_Copy40" Content="delete WP" HorizontalAlignment="Left" Margin="220,0,0,26" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/>
1533
                    </Grid>
1570
                    </Grid>
1534
                </Border>
1571
                </Border>
1535
                <DataGrid x:Name="dgvWP" Margin="10,5,10,195" 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">
1572
                <DataGrid x:Name="dgvWP" Margin="10,5,10,195" 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">
1536
                    <DataGrid.Columns>
1573
                    <DataGrid.Columns>
1537
                        <DataGridTextColumn Header="Index" Binding="{Binding Index}"/>
1574
                        <DataGridTextColumn Header="Index" Binding="{Binding Index}"/>