Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 2349 → Rev 2350

/MKLiveView/v1.0/Source/MainWindow.xaml
585,7 → 585,7
</Label.Style>
</Label>
</Grid>
<Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" >
<Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" Visibility="Collapsed" >
<TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0">
<TabItem Header="Analog">
<Grid>
664,10 → 664,10
</TabItem>
<TabItem Header="Serial" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="54" Margin="-1,0,0,0">
<Grid>
<GroupBox x:Name="groupBox3" Header="Channel 1" HorizontalAlignment="Left" Height="206" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,31,0,0">
<GroupBox x:Name="groupBox3" Header="Channel 1" HorizontalAlignment="Left" Height="188" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5">
<Grid Margin="0,0,-2,0.04">
<TextBox x:Name="textBoxSerial1" HorizontalAlignment="Left" Height="21" Margin="6,10,0,0" Text="SerialChannel1 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial1_TextChanged"/>
<Label x:Name="labelSerChan1" HorizontalAlignment="Left" Margin="157,12,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan1ScaleSlider}">
<TextBox x:Name="textBoxSerial1" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel1 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial1_TextChanged"/>
<Label x:Name="labelSerChan1" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan1ScaleSlider}">
<Label.Style>
<Style TargetType="{x:Type Label}">
<Style.Triggers>
678,14 → 678,14
</Style>
</Label.Style>
</Label>
<Slider x:Name="SerChan1ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,35,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan1ScaleSlider_ValueChanged"/>
<Button x:Name="btnSer1_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,69,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_0_Click"/>
<Button x:Name="btnSer1_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,69,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_127_Click"/>
<Button x:Name="btnSer1_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,69,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_254_Click"/>
<TextBox x:Name="textBoxSerial1_val1" HorizontalAlignment="Left" Height="29" Margin="2,111,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val1_TextChanged"/>
<TextBox x:Name="textBoxSerial1_val2" HorizontalAlignment="Left" Height="29" Margin="62,111,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val2_TextChanged"/>
<TextBox x:Name="textBoxSerial1_val3" HorizontalAlignment="Left" Height="29" Margin="122,111,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val3_TextChanged"/>
<Button x:Name="btnSer1_val1" Content="{Binding Text, ElementName=textBoxSerial1_val1}" HorizontalAlignment="Left" Height="35" Margin="2,143,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val1_Click">
<Slider x:Name="SerChan1ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan1ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/>
<Button x:Name="btnSer1_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_0_Click"/>
<Button x:Name="btnSer1_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_127_Click"/>
<Button x:Name="btnSer1_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_254_Click"/>
<TextBox x:Name="textBoxSerial1_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val1_TextChanged"/>
<TextBox x:Name="textBoxSerial1_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val2_TextChanged"/>
<TextBox x:Name="textBoxSerial1_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val3_TextChanged"/>
<Button x:Name="btnSer1_val1" Content="{Binding Text, ElementName=textBoxSerial1_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val1_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
694,7 → 694,7
</Style>
</Button.Style>
</Button>
<Button x:Name="btnSer1_val2" Content="{Binding Text, ElementName=textBoxSerial1_val2}" HorizontalAlignment="Left" Height="35" Margin="62,143,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val2_Click">
<Button x:Name="btnSer1_val2" Content="{Binding Text, ElementName=textBoxSerial1_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val2_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
703,7 → 703,7
</Style>
</Button.Style>
</Button>
<Button x:Name="btnSer1_val3" Content="{Binding Text, ElementName=textBoxSerial1_val3}" HorizontalAlignment="Left" Height="35" Margin="122,143,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val3_Click">
<Button x:Name="btnSer1_val3" Content="{Binding Text, ElementName=textBoxSerial1_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val3_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
715,10 → 715,10
 
</Grid>
</GroupBox>
<GroupBox x:Name="groupBoxSerchan2" Header="Channel 2" HorizontalAlignment="Left" Height="206" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,277,0,0">
<GroupBox x:Name="groupBoxSerchan2" Header="Channel 2" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,193,0,0">
<Grid Margin="0,0,-2,0.04">
<TextBox x:Name="textBoxSerial2" HorizontalAlignment="Left" Height="21" Margin="6,10,0,0" Text="SerialChannel2 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial2_TextChanged"/>
<Label x:Name="labelSerChan2" HorizontalAlignment="Left" Margin="157,12,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan2ScaleSlider}">
<TextBox x:Name="textBoxSerial2" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel2 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial2_TextChanged"/>
<Label x:Name="labelSerChan2" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan2ScaleSlider}">
<Label.Style>
<Style TargetType="{x:Type Label}">
<Style.Triggers>
729,14 → 729,14
</Style>
</Label.Style>
</Label>
<Slider x:Name="SerChan2ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,35,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan2ScaleSlider_ValueChanged"/>
<Button x:Name="btnSer2_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,69,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_0_Click"/>
<Button x:Name="btnSer2_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,69,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_127_Click"/>
<Button x:Name="btnSer2_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,69,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_254_Click"/>
<TextBox x:Name="textBoxSerial2_val1" HorizontalAlignment="Left" Height="29" Margin="2,111,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val1_TextChanged"/>
<TextBox x:Name="textBoxSerial2_val2" HorizontalAlignment="Left" Height="29" Margin="62,111,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val2_TextChanged"/>
<TextBox x:Name="textBoxSerial2_val3" HorizontalAlignment="Left" Height="29" Margin="122,111,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val3_TextChanged"/>
<Button x:Name="btnSer2_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,143,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val1_Click">
<Slider x:Name="SerChan2ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan2ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/>
<Button x:Name="btnSer2_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_0_Click"/>
<Button x:Name="btnSer2_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_127_Click"/>
<Button x:Name="btnSer2_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_254_Click"/>
<TextBox x:Name="textBoxSerial2_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val1_TextChanged"/>
<TextBox x:Name="textBoxSerial2_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val2_TextChanged"/>
<TextBox x:Name="textBoxSerial2_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val3_TextChanged"/>
<Button x:Name="btnSer2_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val1_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
745,7 → 745,7
</Style>
</Button.Style>
</Button>
<Button x:Name="btnSer2_val2" Content="{Binding Text, ElementName=textBoxSerial2_val2}" HorizontalAlignment="Left" Height="35" Margin="62,143,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val2_Click">
<Button x:Name="btnSer2_val2" Content="{Binding Text, ElementName=textBoxSerial2_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val2_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
754,7 → 754,7
</Style>
</Button.Style>
</Button>
<Button x:Name="btnSer2_val3" Content="{Binding Text, ElementName=textBoxSerial2_val3}" HorizontalAlignment="Left" Height="35" Margin="122,143,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val3_Click">
<Button x:Name="btnSer2_val3" Content="{Binding Text, ElementName=textBoxSerial2_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val3_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
766,13 → 766,64
 
</Grid>
</GroupBox>
<GroupBox x:Name="groupBoxSerchan3" Header="Channel 3" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,391,0,0">
<Grid Margin="0,0,-2,-12.96">
<TextBox x:Name="textBoxSerial3" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel3 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial3_TextChanged"/>
<Label x:Name="labelSerChan3" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan3ScaleSlider}">
<Label.Style>
<Style TargetType="{x:Type Label}">
<Style.Triggers>
<DataTrigger Binding="{Binding Value, ElementName=SerChan3ScaleSlider}">
<Setter Property="Content" Value="{Binding Value, ElementName=SerChan3ScaleSlider}"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Label.Style>
</Label>
<Slider x:Name="SerChan3ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="1" ValueChanged="SerChan3ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/>
<Button x:Name="btnSer3_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_0_Click"/>
<Button x:Name="btnSer3_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_127_Click"/>
<Button x:Name="btnSer3_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_254_Click"/>
<TextBox x:Name="textBoxSerial3_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val1_TextChanged"/>
<TextBox x:Name="textBoxSerial3_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val2_TextChanged"/>
<TextBox x:Name="textBoxSerial3_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val3_TextChanged"/>
<Button x:Name="btnSer3_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val1_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
<DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val1}"/>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
<Button x:Name="btnSer3_val2" Content="{Binding Text, ElementName=textBoxSerial3_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val2_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
<DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val2}"/>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
<Button x:Name="btnSer3_val3" Content="{Binding Text, ElementName=textBoxSerial3_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val3_Click">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Style.Triggers>
<DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val3}"/>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
 
</Grid>
</GroupBox>
 
 
</Grid>
</TabItem>
</TabControl>
</Grid>
<Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0" Visibility="Collapsed">
<Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0">
<TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="2,0,0,0">
<TabItem Header="General" Margin="0,0,-0.237,0">
<Grid x:Name="TabGridGeneral">
1083,8 → 1134,8
<Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,382,5,0" VerticalAlignment="Top" Width="38" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16"/>
<Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/>
<Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/>
<Border Margin="10,359,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="322">
<Grid Margin="0,-4,-1,4">
<Border Margin="10,370,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="322">
<Grid Margin="-0.5,-0.5,-0.5,4.5">
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="103,0,0,61" Height="40" VerticalAlignment="Bottom">
<Rectangle.Style>
<Style TargetType="{x:Type Rectangle}">
1133,8 → 1184,8
<ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/>
</Button.Background>
</Button>
<Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="98,0,0,98" VerticalAlignment="Bottom" Width="116" Foreground="White"/>
<Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="1,0,0,98" VerticalAlignment="Bottom" Width="86" Foreground="White"/>
<Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="98,-2,0,98" VerticalAlignment="Bottom" Width="116" Foreground="White" Height="26"/>
<Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="1,-2,0,98" VerticalAlignment="Bottom" Width="86" Foreground="White" Height="26"/>
<Label x:Name="label4_Copy7" Content="load from file" HorizontalAlignment="Left" Margin="0,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White"/>
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="221,0,0,0" Height="40" VerticalAlignment="Bottom">
<Rectangle.Style>
1169,7 → 1220,24
<ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/>
</Button.Background>
</Button>
<Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="217,0,0,98" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/>
<Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="217,-2,0,98" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/>
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="103,0,0,0" Height="40" VerticalAlignment="Bottom">
<Rectangle.Style>
<Style TargetType="{x:Type Rectangle}">
<Style.Triggers>
<DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True">
<Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Rectangle.Style>
</Rectangle>
<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}">
<Button.Background>
<ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform"/>
</Button.Background>
</Button>
<Label x:Name="label4_Copy13" Content="save to file (.wpl)" HorizontalAlignment="Left" Margin="99,0,0,36" VerticalAlignment="Bottom" Width="98" Foreground="White"/>
</Grid>
</Border>
<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">