| | |
| | | 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"> |
| | | <Window.Resources> |
| | | <ResourceDictionary> |
| | | <ResourceDictionary.MergedDictionaries> |
| | | <pu:StyleDictionary Includes="TreeView" /> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/PanuonResource.xaml"/> |
| | | <ResourceDictionary Source="/HMI.UI;component/Resources/Font/Font.xaml"/> |
| | | <ResourceDictionary Source="/HMI.UI;component/Style/Colors.xaml"/> |
| | | </ResourceDictionary.MergedDictionaries> |
| | | <uic:PathImageConverter x:Key="path2Image"/> |
| | | <uic:DataGridRowNumberConverter x:Key="rowNumber"/> |
| | | </ResourceDictionary> |
| | | </Window.Resources> |
| | | |
| | | Style="{StaticResource ModalWindow}"> |
| | | <Grid Margin="10"> |
| | | <StackPanel x:Name="formPanel"> |
| | | <pu:FormGroup x:Name="FgName" Style="{StaticResource RequiredInputFormGroupStyle}" |
| | | Header="产品名称" GroupName="MyFormGroup" |
| | | Header="{DynamicResource Pm.Product.Name}" GroupName="MyFormGroup" |
| | | dp:FormGroupHelper.IsRequired="True" |
| | | dp:FormGroupHelper.ValidateMethod="ValidateName" |
| | | > |
| | | <TextBox x:Name="TbName" Style="{StaticResource EditorTextBoxStyle}" /> |
| | | </pu:FormGroup> |
| | | |
| | | <pu:FormGroup x:Name="FgIsMaster" Style="{StaticResource InputFormGroupStyle}" |
| | | Header="是否样件" GroupName="MyFormGroup"> |
| | | <pu:FormGroup x:Name="FgIsMaster" Style="{StaticResource InputFormGroupStyle}" Visibility="Collapsed" |
| | | Header="{DynamicResource Pm.Product.IsSample}" GroupName="MyFormGroup"> |
| | | <CheckBox x:Name="TbIsMaster" /> |
| | | </pu:FormGroup> |
| | | |
| | | <pu:FormGroup x:Name="FgParentId" Style="{StaticResource InputFormGroupStyle}" |
| | | Header="继承" GroupName="MyFormGroup"> |
| | | <TextBox x:Name="TbParentId" Style="{StaticResource EditorTextBoxStyle}" /> |
| | | Header="{DynamicResource Pm.Product.Extend}" GroupName="MyFormGroup"> |
| | | <!--<TextBox x:Name="TbParentId" Style="{StaticResource EditorTextBoxStyle}" />--> |
| | | <ComboBox x:Name="CbParent" Style="{StaticResource FormComboxStyle}" |
| | | pu:ComboBoxHelper.ClearButtonVisibility="Visible"/> |
| | | </pu:FormGroup> |
| | | </StackPanel> |
| | | </Grid> |