<UserControl x:Class="HMI.SettingControl.SystemConfig"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:local="clr-namespace:HMI.SettingControl"
|
xmlns:pw="https://opensource.panuon.com/wpf"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
|
mc:Ignorable="d"
|
Background="#FFF"
|
d:DesignHeight="450" d:DesignWidth="800">
|
<UserControl.Resources>
|
<ResourceDictionary>
|
<ResourceDictionary.MergedDictionaries>
|
<pu:StyleDictionary Includes="TabControl" />
|
<ResourceDictionary Source="/HMI.UI;component/Style/PanuonResource.xaml"/>
|
<ResourceDictionary Source="/HMI.UI;component/Resources/Font/Font.xaml"/>
|
</ResourceDictionary.MergedDictionaries>
|
|
<uic:PathImageConverter x:Key="path2Image"/>
|
<uic:DataGridRowNumberConverter x:Key="rowNumber"/>
|
</ResourceDictionary>
|
</UserControl.Resources>
|
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition/>
|
<RowDefinition Height="Auto"/>
|
</Grid.RowDefinitions>
|
<GroupBox Header="程序设置" Padding="10">
|
<StackPanel>
|
<pu:FormGroup Header="Logo" GroupName="MyFormGroup">
|
<TextBox Text="{Binding LogoPath}"/>
|
</pu:FormGroup>
|
|
<pu:FormGroup Header="标题" GroupName="MyFormGroup">
|
<TextBox Text="{Binding WindowTitle}"/>
|
</pu:FormGroup>
|
</StackPanel>
|
</GroupBox>
|
<DockPanel Grid.Row="1" LastChildFill="False">
|
<Button DockPanel.Dock="Right" Style="{StaticResource PrimaryButton}" Click="Button_Click">保存</Button>
|
</DockPanel>
|
</Grid>
|
</UserControl>
|