824,8 → 824,8 |
</TabControl> |
</Grid> |
<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"> |
<TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="4,0,0,0"> |
<TabItem Header="General" Margin="0,0,5.849,0"> |
<Grid x:Name="TabGridGeneral"> |
<local:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/> |
<GroupBox x:Name="groupBox" Header="timings autoupdate (ms)" HorizontalAlignment="Left" Height="129" Margin="10,278,0,0" VerticalAlignment="Top" Width="210" Foreground="White" BorderThickness="0.5,0.5,0.4,0.4" FontSize="14"> |
853,7 → 853,7 |
<Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="49" Margin="10,532,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" Style="{StaticResource HideSwitchNCButton}" Tag="{Binding ElementName=tbCtrl}" FontSize="16"/> |
</Grid> |
</TabItem> |
<TabItem Header="Style" Margin="-0.763,0,-8.193,0"> |
<TabItem Header="Style" Margin="-6.849,0,-2.022,0"> |
<Grid x:Name="TabGridStyle"> |
<Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/> |
<Label x:Name="labelUIScale" HorizontalAlignment="Left" Margin="117,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleSlider}"> |
933,8 → 933,8 |
</Style> |
</Label.Style> |
</Label> |
<Button x:Name="buttonUIScaleReset" Content="Reset" HorizontalAlignment="Left" Margin="14,253,0,0" VerticalAlignment="Top" Width="95" Click="buttonUIScaleReset_Click" Height="29"/> |
<GroupBox x:Name="groupBox1" Header="Topbar items" Margin="14,333,10,0" Foreground="White" BorderThickness="0.5" Height="197" VerticalAlignment="Top"> |
<Button x:Name="buttonUIScaleReset" Content="Reset" HorizontalAlignment="Left" Margin="14,248,0,0" VerticalAlignment="Top" Width="95" Click="buttonUIScaleReset_Click" Height="29"/> |
<GroupBox x:Name="groupBox1" Header="Topbar items" Margin="14,325,10,0" Foreground="White" BorderThickness="0.5" Height="197" VerticalAlignment="Top"> |
<Grid Margin="0,0,0,0"> |
<CheckBox x:Name="chkBoxTopBarShowVoltage" Content="Voltage" Foreground="White" Margin="10,10,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
<CheckBox x:Name="chkBoxTopBarShowCapacity" Content="Capacity" Foreground="White" Margin="10,26,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
948,12 → 948,12 |
<CheckBox x:Name="chkBoxTopBarShowRC" Content="RC quality" Foreground="White" Margin="10,157,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
</Grid> |
</GroupBox> |
<CheckBox x:Name="chkBoxShowHorizon" Content="Show Horizon/Heading" Foreground="White" Margin="14,551,64,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
<CheckBox x:Name="chkBoxSaveFullScreenState" Content="save fullscreen
scalings" Foreground="White" Margin="119,287,0,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveFullScreenState_Click" /> |
<CheckBox x:Name="chkBoxSaveNormalState" Content="save normal
window scalings" Foreground="White" Margin="6,287,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" /> |
<CheckBox x:Name="chkBoxShowHorizon" Content="Show Horizon/Heading" Foreground="White" Margin="14,541,64,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
<CheckBox x:Name="chkBoxSaveFullScreenState" Content="save fullscreen
scalings" Foreground="White" Margin="119,285,0,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveFullScreenState_Click" /> |
<CheckBox x:Name="chkBoxSaveNormalState" Content="save normal
window scalings" Foreground="White" Margin="6,285,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" /> |
</Grid> |
</TabItem> |
<TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="7.193,0,-17.257,0"> |
<TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="1.022,0,-4,0"> |
<Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226"> |
<CheckBox x:Name="checkBoxFollowCopter" Content="follow copter" HorizontalAlignment="Left" Margin="8,510,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered"/> |
<CheckBox x:Name="checkBoxAutoSetHP" Content="auto set HP" HorizontalAlignment="Left" Margin="92,422,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="set HP automatically with first satfix" Click="checkBoxAutoSetHP_Click"/> |
1002,10 → 1002,10 |
</Button.Background> |
</Button> |
<Label x:Name="label4_Copy8" Content="load GPX-Log" HorizontalAlignment="Left" Margin="122,511,0,0" VerticalAlignment="Top" Width="86" Foreground="White"/> |
<Button x:Name="btnClearRoute" Content="clear route" Margin="128,542,18,0" Height="31" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click"/> |
<Button x:Name="btnClearRoute" Content="clear route" Margin="127,534,19,0" Height="38" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click"/> |
</Grid> |
</TabItem> |
<TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="13,0,-13,0" HorizontalAlignment="Left" Width="70"> |
<TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Left" Width="70"> |
<Grid> |
<GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="109" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
<Grid Margin="0,0,-6,-3.96"> |
1068,6 → 1068,56 |
</GroupBox> |
</Grid> |
</TabItem> |
<TabItem Header="Waypoints style" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="104" Margin="-26.5,0,0,0"> |
<Grid> |
<Border Margin="0,10,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="222" Height="206" VerticalAlignment="Top"> |
<Grid Margin="-0.5,-0.5,-0.5,1.5"> |
<ComboBox x:Name="comboBoxFSColor" Height="33" VerticalAlignment="Top" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,161,117,0"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,137,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxWPColor" Height="33" Margin="0,99,117,0" VerticalAlignment="Top" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,75,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxPOIColor" Margin="0,99,12,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,75,28,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxCopterColor" Margin="0,29,117,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top" DropDownClosed="comboBoxCopterColor_DropDownClosed"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,3,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxRouteColor" Height="33" VerticalAlignment="Top" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Margin="0,161,12,0" DropDownClosed="comboBoxRouteColor_DropDownClosed"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy10" Content="Route color" HorizontalAlignment="Right" Margin="0,135,28,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
|
</Grid> |
</Border> |
|
</Grid> |
</TabItem> |
</TabControl> |
</Grid> |
<Border BorderThickness="0,2,0,0" Height="2" Margin="0,34,0,0" VerticalAlignment="Top" Visibility="Hidden"> |
1129,14 → 1179,14 |
<Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
<Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
</Grid> |
<Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="500" VerticalAlignment="Top" Visibility="Collapsed"> |
<Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top" Visibility="Collapsed"> |
<Label x:Name="label4" Content="points" HorizontalAlignment="Right" Margin="0,376,41,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="26" HorizontalContentAlignment="Right"/> |
<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,370,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="322"> |
<Border Margin="10,456,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="640"> |
<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 HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="111,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
<Rectangle.Style> |
<Style TargetType="{x:Type Rectangle}"> |
<Style.Triggers> |
1147,12 → 1197,12 |
</Style> |
</Rectangle.Style> |
</Rectangle> |
<Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="104,0,0,62" VerticalAlignment="Bottom" Width="92" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
<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}"> |
<Button.Background> |
<ImageBrush ImageSource="Images/FromCopterToPc.png" Stretch="Uniform"/> |
</Button.Background> |
</Button> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="4,0,0,61" Height="40" VerticalAlignment="Bottom"> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="12,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
<Rectangle.Style> |
<Style TargetType="{x:Type Rectangle}"> |
<Style.Triggers> |
1163,12 → 1213,12 |
</Style> |
</Rectangle.Style> |
</Rectangle> |
<Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="5,0,0,62" VerticalAlignment="Bottom" Width="92" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
<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}"> |
<Button.Background> |
<ImageBrush ImageSource="Images/FromPcToCopter.png" Stretch="Uniform"/> |
</Button.Background> |
</Button> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="4,0,0,0" Height="40" VerticalAlignment="Bottom"> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="229,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
<Rectangle.Style> |
<Style TargetType="{x:Type Rectangle}"> |
<Style.Triggers> |
1179,15 → 1229,15 |
</Style> |
</Rectangle.Style> |
</Rectangle> |
<Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="4,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
<Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="229,0,0,0" VerticalAlignment="Bottom" Width="94" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
<Button.Background> |
<ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
</Button.Background> |
</Button> |
<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"> |
<Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="106,0,0,36" VerticalAlignment="Bottom" Width="116" Foreground="White" Height="26"/> |
<Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="9,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White" Height="26"/> |
<Label x:Name="label4_Copy7" Content="load from file" HorizontalAlignment="Left" Margin="225,0,0,35" VerticalAlignment="Bottom" Width="86" Foreground="White"/> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="434,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
<Rectangle.Style> |
<Style TargetType="{x:Type Rectangle}"> |
<Style.Triggers> |
1198,13 → 1248,13 |
</Style> |
</Rectangle.Style> |
</Rectangle> |
<Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="221,0,0,2" VerticalAlignment="Bottom" Width="94" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click"> |
<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"> |
<Button.Background> |
<ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/> |
</Button.Background> |
</Button> |
<Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="217,0,0,36" VerticalAlignment="Bottom" Width="93" Foreground="White"/> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="221,0,0,61" Height="40" VerticalAlignment="Bottom"> |
<Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="430,0,0,35" VerticalAlignment="Bottom" Width="93" Foreground="White"/> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="533,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
<Rectangle.Style> |
<Style TargetType="{x:Type Rectangle}"> |
<Style.Triggers> |
1215,13 → 1265,13 |
</Style> |
</Rectangle.Style> |
</Rectangle> |
<Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="223,0,0,63" VerticalAlignment="Bottom" Width="92" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearCopterList_Click"> |
<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"> |
<Button.Background> |
<ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/> |
</Button.Background> |
</Button> |
<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"> |
<Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="529,0,0,36" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/> |
<Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="328,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
<Rectangle.Style> |
<Style TargetType="{x:Type Rectangle}"> |
<Style.Triggers> |
1232,15 → 1282,15 |
</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 x:Name="btnSaveWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="328,0,0,0" VerticalAlignment="Bottom" Width="94" ToolTip="save list to *.wpl file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnSaveWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
<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"/> |
<Label x:Name="label4_Copy13" Content="save to file (.wpl)" HorizontalAlignment="Left" Margin="324,0,0,35" 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"> |
<DataGrid x:Name="dgvWP" Margin="10,5,10,167" Background="{x:Null}" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0" AutoGenerateColumns="False" MouseUp="dgvWP_MouseUp" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False"> |
<DataGrid.Columns> |
<DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/> |
<DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/> |
1258,51 → 1308,7 |
<DataGridTextColumn Header="Out1Timer" Binding="{Binding Path=Out1Timer}"/> |
</DataGrid.Columns> |
</DataGrid> |
<Border Margin="0,432,10,4" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="528"> |
<Grid Margin="9.5,-2.5,-9.5,3.5"> |
<ComboBox x:Name="comboBoxWPColor" Height="33" Margin="0,0,324,2" VerticalAlignment="Bottom" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,0,339,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxPOIColor" Margin="0,0,224,2" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Bottom"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,0,240,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxFSColor" Height="33" VerticalAlignment="Bottom" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,0,124,2"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,0,141,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxCopterColor" Margin="0,0,430,2" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Bottom" DropDownClosed="comboBoxCopterColor_DropDownClosed"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,0,445,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
<ComboBox x:Name="comboBoxRouteColor" Height="33" VerticalAlignment="Bottom" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Margin="0,0,19,2" DropDownClosed="comboBoxRouteColor_DropDownClosed"> |
<ComboBoxItem Content="red"/> |
<ComboBoxItem Content="green"/> |
<ComboBoxItem Content="blue"/> |
<ComboBoxItem Content="yellow"/> |
<ComboBoxItem Content="pink"/> |
</ComboBox> |
<Label x:Name="label4_Copy10" Content="route color" HorizontalAlignment="Right" Margin="0,0,36,33" VerticalAlignment="Bottom" Width="80" Foreground="White"/> |
</Grid> |
</Border> |
<CheckBox x:Name="checkBoxShowWPRoute" Content="show route" HorizontalAlignment="Right" Height="22" Margin="0,410,0,0" VerticalAlignment="Top" Width="84" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click"/> |
<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"/> |
<Label x:Name="label4_Copy9" Content="distance" HorizontalAlignment="Right" Margin="0,359,37,0" VerticalAlignment="Top" Width="57" Foreground="White"/> |
<Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,364,5,0" VerticalAlignment="Top" Width="38" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0"/> |
</Grid> |