| | |
| | | xmlns:pu="https://opensource.panuon.com/wpf-ui" |
| | | xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI" |
| | | xmlns:ui="clr-namespace:HMI.UI;assembly=HMI.UI" |
| | | xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI" |
| | | mc:Ignorable="d" |
| | | Title="Form" |
| | | SizeToContent="Height" |
| | |
| | | BorderBrush="#3E3E45" |
| | | BorderThickness="1" |
| | | Foreground="Black" |
| | | pu:WindowXCaption.Background="{StaticResource PrimaryColor}" |
| | | pu:WindowXModalDialog.ButtonStyle="{StaticResource ModalButton}" |
| | | pu:WindowXCaption.Foreground="#FFF" |
| | | pu:WindowXCaption.Buttons="Close" |
| | | pu:WindowXModalDialog.Buttons="OKCancel" |
| | | pu:WindowXModalDialog.CancelButtonContent="取消" |
| | | pu:WindowXModalDialog.OKButtonContent="保存" |
| | | pu:WindowXModalDialog.ButtonPanelMargin="0,30,10,10"> |
| | | Style="{StaticResource ModalWindow}"> |
| | | <Grid Margin="10"> |
| | | <StackPanel x:Name="formPanel"> |
| | | <pu:FormGroup ui:FormGroupHelper.IsRequired="True" |
| | | Header="I点读取标签" GroupName="MyFormGroup"> |
| | | <pu:FormGroup Header="{DynamicResource DIO.ITag}" |
| | | dp:FormGroupHelper.IsRequired="True" GroupName="MyFormGroup"> |
| | | <TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="iTag"/> |
| | | </pu:FormGroup> |
| | | |
| | | <pu:FormGroup ui:FormGroupHelper.IsRequired="True" |
| | | Header="Q点读取标签" GroupName="MyFormGroup"> |
| | | <pu:FormGroup Header="{DynamicResource DIO.OTag}" |
| | | dp:FormGroupHelper.IsRequired="True" GroupName="MyFormGroup"> |
| | | <TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="qTag"/> |
| | | </pu:FormGroup> |
| | | </StackPanel> |