12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <UserControl
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:appmodel="clr-namespace:InitializerModel;assembly=InitializerModel"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:ConfigEditor.SubPage.AppConfig"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- d:DataContext="{d:DesignInstance Type=appmodel:AppSettingConfigModel}"
- d:DesignHeight="450"
- d:DesignWidth="800"
- mc:Ignorable="d"
- x:Class="ConfigEditor.SubPage.AppConfig.AppConfigPanel">
- <StackPanel Orientation="Vertical">
- <Rectangle Width="10" />
- <Button
- x:Name="uxSaveConfigBtn"
- Margin="10"
- HorizontalAlignment="Left"
- Click="uxSaveConfigBtn_Click">
- <Label>Save Config</Label>
- </Button>
- <Rectangle Height="10" />
- <StackPanel Orientation="Horizontal">
- <Label Width="185">FirmwareRoot</Label>
- <TextBox
- Width="500"
- Text="{Binding FirmwareRoot}"
- IsReadOnly="True"
- PreviewMouseUp="FirmwareFolder_PreviewMouseUp" />
- </StackPanel>
- <Rectangle Height="10" />
- <StackPanel Orientation="Horizontal">
- <Label Width="185">Language</Label>
- <ComboBox
- x:Name="uxLanguage"
- Width="150"
- SelectedItem="{Binding Language}" />
- </StackPanel>
- <Rectangle Height="10" />
- <StackPanel Orientation="Horizontal">
- <Label Width="185">MES</Label>
- <ComboBox
- x:Name="uxMes"
- Width="150"
- SelectedItem="{Binding MES}" />
- </StackPanel>
- <Rectangle Height="10" />
- <StackPanel Orientation="Horizontal">
- <Label Width="185">MechineCode</Label>
- <TextBox Width="150" Text="{Binding MechineCode}" />
- </StackPanel>
- <Rectangle Height="10" />
- <StackPanel Orientation="Horizontal">
- <Label Width="185">JohnSenLedComPort</Label>
- <TextBox Width="150" Text="{Binding JohnSenLedComPort}" />
- </StackPanel>
- </StackPanel>
- </UserControl>
|