1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <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>
- <Rectangle Height="10" />
- <StackPanel Orientation="Horizontal">
- <Label Width="185">WifiApSSID</Label>
- <TextBox Width="150" Text="{Binding WifiApSSID}" />
- </StackPanel>
- <Rectangle Height="10" />
- <StackPanel Orientation="Horizontal">
- <Label Width="185">WifiApPassword</Label>
- <TextBox Width="150" Text="{Binding WifiApPassword}" />
- </StackPanel>
- </StackPanel>
- </UserControl>
|