| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddMenuDlg)); |
| | | dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); |
| | | layoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); |
| | | ComboBoxEditParentsChoice = new DevExpress.XtraEditors.TreeListLookUpEdit(); |
| | |
| | | btnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | NameTextEdit = new DevExpress.XtraEditors.TextEdit(); |
| | | CodeTextEdit = new DevExpress.XtraEditors.TextEdit(); |
| | | TxtEditPermission = new DevExpress.XtraEditors.TextEdit(); |
| | | DescriptionMemoEdit = new DevExpress.XtraEditors.MemoEdit(); |
| | | imageComboBoxMenuType = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | ItemForName = new DevExpress.XtraLayout.LayoutControlItem(); |
| | |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | simpleLabelItemDelete = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelItem2 = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | simpleLabelDelete = new DevExpress.XtraLayout.SimpleLabelItem(); |
| | | ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)ComboBoxEditParentsChoice.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)NameTextEdit.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)CodeTextEdit.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TxtEditPermission.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionMemoEdit.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)imageComboBoxMenuType.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ItemForName).BeginInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelItemDelete).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelDelete).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // dxErrorProvider1 |
| | |
| | | layoutControl1.Controls.Add(btnOk); |
| | | layoutControl1.Controls.Add(btnCancel); |
| | | layoutControl1.Controls.Add(NameTextEdit); |
| | | layoutControl1.Controls.Add(CodeTextEdit); |
| | | layoutControl1.Controls.Add(TxtEditPermission); |
| | | layoutControl1.Controls.Add(DescriptionMemoEdit); |
| | | layoutControl1.Controls.Add(imageComboBoxMenuType); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Margin = new Padding(3, 2, 3, 2); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(760, 110, 650, 400); |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(549, 408, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(438, 273); |
| | | layoutControl1.Size = new Size(444, 290); |
| | | layoutControl1.TabIndex = 0; |
| | | layoutControl1.Text = "dataLayoutControl1"; |
| | | // |
| | | // ComboBoxEditParentsChoice |
| | | // |
| | | ComboBoxEditParentsChoice.Location = new Point(59, 36); |
| | | ComboBoxEditParentsChoice.Location = new Point(59, 60); |
| | | ComboBoxEditParentsChoice.Name = "ComboBoxEditParentsChoice"; |
| | | ComboBoxEditParentsChoice.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | ComboBoxEditParentsChoice.Properties.DisplayMember = "Name"; |
| | |
| | | ComboBoxEditParentsChoice.Properties.PopupSizeable = false; |
| | | ComboBoxEditParentsChoice.Properties.TreeList = treeListLookUpEdit1TreeList; |
| | | ComboBoxEditParentsChoice.Properties.ValueMember = "ID"; |
| | | ComboBoxEditParentsChoice.Size = new Size(367, 20); |
| | | ComboBoxEditParentsChoice.Size = new Size(334, 20); |
| | | ComboBoxEditParentsChoice.StyleController = layoutControl1; |
| | | ComboBoxEditParentsChoice.TabIndex = 8; |
| | | ComboBoxEditParentsChoice.TabIndex = 4; |
| | | // |
| | | // treeListLookUpEdit1TreeList |
| | | // |
| | |
| | | // |
| | | btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnOk.Appearance.Options.UseBackColor = true; |
| | | btnOk.Location = new Point(256, 244); |
| | | btnOk.Location = new Point(262, 261); |
| | | btnOk.Margin = new Padding(3, 2, 3, 2); |
| | | btnOk.Name = "btnOk"; |
| | | btnOk.Size = new Size(83, 17); |
| | | btnOk.StyleController = layoutControl1; |
| | | btnOk.TabIndex = 8; |
| | | btnOk.TabIndex = 6; |
| | | btnOk.Text = "确定"; |
| | | btnOk.Click += btnOk_Click; |
| | | // |
| | |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.DialogResult = DialogResult.Cancel; |
| | | btnCancel.Location = new Point(343, 244); |
| | | btnCancel.Location = new Point(349, 261); |
| | | btnCancel.Margin = new Padding(3, 2, 3, 2); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(83, 17); |
| | |
| | | NameTextEdit.Location = new Point(59, 12); |
| | | NameTextEdit.Margin = new Padding(3, 2, 3, 2); |
| | | NameTextEdit.Name = "NameTextEdit"; |
| | | NameTextEdit.Size = new Size(158, 20); |
| | | NameTextEdit.Size = new Size(161, 20); |
| | | NameTextEdit.StyleController = layoutControl1; |
| | | NameTextEdit.TabIndex = 4; |
| | | NameTextEdit.TabIndex = 0; |
| | | // |
| | | // CodeTextEdit |
| | | // TxtEditPermission |
| | | // |
| | | CodeTextEdit.Location = new Point(268, 12); |
| | | CodeTextEdit.Margin = new Padding(3, 2, 3, 2); |
| | | CodeTextEdit.Name = "CodeTextEdit"; |
| | | CodeTextEdit.Size = new Size(158, 20); |
| | | CodeTextEdit.StyleController = layoutControl1; |
| | | CodeTextEdit.TabIndex = 5; |
| | | TxtEditPermission.Location = new Point(271, 12); |
| | | TxtEditPermission.Margin = new Padding(3, 2, 3, 2); |
| | | TxtEditPermission.Name = "TxtEditPermission"; |
| | | TxtEditPermission.Size = new Size(161, 20); |
| | | TxtEditPermission.StyleController = layoutControl1; |
| | | TxtEditPermission.TabIndex = 2; |
| | | // |
| | | // DescriptionMemoEdit |
| | | // |
| | | DescriptionMemoEdit.Location = new Point(59, 60); |
| | | DescriptionMemoEdit.Location = new Point(59, 84); |
| | | DescriptionMemoEdit.Margin = new Padding(3, 2, 3, 2); |
| | | DescriptionMemoEdit.Name = "DescriptionMemoEdit"; |
| | | DescriptionMemoEdit.Size = new Size(367, 180); |
| | | DescriptionMemoEdit.Size = new Size(373, 173); |
| | | DescriptionMemoEdit.StyleController = layoutControl1; |
| | | DescriptionMemoEdit.TabIndex = 6; |
| | | DescriptionMemoEdit.TabIndex = 5; |
| | | // |
| | | // imageComboBoxMenuType |
| | | // |
| | | imageComboBoxMenuType.Location = new Point(59, 36); |
| | | imageComboBoxMenuType.Name = "imageComboBoxMenuType"; |
| | | imageComboBoxMenuType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | imageComboBoxMenuType.Size = new Size(373, 20); |
| | | imageComboBoxMenuType.StyleController = layoutControl1; |
| | | imageComboBoxMenuType.TabIndex = 3; |
| | | // |
| | | // Root |
| | | // |
| | |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(438, 273); |
| | | Root.Size = new Size(444, 290); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlGroup1 |
| | | // |
| | | layoutControlGroup1.AllowDrawBackground = false; |
| | | layoutControlGroup1.GroupBordersVisible = false; |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, ItemForCode, layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3 }); |
| | | layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, ItemForCode, layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3, layoutControlItem4, simpleLabelDelete }); |
| | | layoutControlGroup1.Location = new Point(0, 0); |
| | | layoutControlGroup1.Name = "autoGeneratedGroup0"; |
| | | layoutControlGroup1.Size = new Size(418, 253); |
| | | layoutControlGroup1.Size = new Size(424, 270); |
| | | // |
| | | // ItemForName |
| | | // |
| | |
| | | ItemForName.Control = NameTextEdit; |
| | | ItemForName.Location = new Point(0, 0); |
| | | ItemForName.Name = "ItemForName"; |
| | | ItemForName.Size = new Size(209, 24); |
| | | ItemForName.Size = new Size(212, 24); |
| | | ItemForName.Text = "<color=red>*</color>名称:"; |
| | | ItemForName.TextSize = new Size(35, 14); |
| | | // |
| | | // ItemForDescription |
| | | // |
| | | ItemForDescription.Control = DescriptionMemoEdit; |
| | | ItemForDescription.Location = new Point(0, 48); |
| | | ItemForDescription.Location = new Point(0, 72); |
| | | ItemForDescription.Name = "ItemForDescription"; |
| | | ItemForDescription.Size = new Size(418, 184); |
| | | ItemForDescription.Size = new Size(424, 177); |
| | | ItemForDescription.StartNewLine = true; |
| | | ItemForDescription.Text = "备注:"; |
| | | ItemForDescription.TextSize = new Size(35, 14); |
| | |
| | | // ItemForCode |
| | | // |
| | | ItemForCode.AllowHtmlStringInCaption = true; |
| | | ItemForCode.Control = CodeTextEdit; |
| | | ItemForCode.Location = new Point(209, 0); |
| | | ItemForCode.Control = TxtEditPermission; |
| | | ItemForCode.Location = new Point(212, 0); |
| | | ItemForCode.Name = "ItemForCode"; |
| | | ItemForCode.Size = new Size(209, 24); |
| | | ItemForCode.Text = "<color=red>*</color>编码:"; |
| | | ItemForCode.Size = new Size(212, 24); |
| | | ItemForCode.Text = "<color=red>*</color>标识:"; |
| | | ItemForCode.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = btnCancel; |
| | | layoutControlItem1.Location = new Point(331, 232); |
| | | layoutControlItem1.Location = new Point(337, 249); |
| | | layoutControlItem1.MaxSize = new Size(87, 21); |
| | | layoutControlItem1.MinSize = new Size(87, 21); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 232); |
| | | emptySpaceItem1.Location = new Point(0, 249); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(244, 21); |
| | | emptySpaceItem1.Size = new Size(250, 21); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = btnOk; |
| | | layoutControlItem2.Location = new Point(244, 232); |
| | | layoutControlItem2.Location = new Point(250, 249); |
| | | layoutControlItem2.MaxSize = new Size(87, 21); |
| | | layoutControlItem2.MinSize = new Size(87, 21); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = ComboBoxEditParentsChoice; |
| | | layoutControlItem3.Location = new Point(0, 24); |
| | | layoutControlItem3.Location = new Point(0, 48); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(418, 24); |
| | | layoutControlItem3.Size = new Size(385, 24); |
| | | layoutControlItem3.Text = "父级:"; |
| | | layoutControlItem3.TextSize = new Size(35, 14); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.AllowHtmlStringInCaption = true; |
| | | layoutControlItem4.Control = imageComboBoxMenuType; |
| | | layoutControlItem4.Location = new Point(0, 24); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(424, 24); |
| | | layoutControlItem4.Text = "<color=red>*</color>类型:"; |
| | | layoutControlItem4.TextSize = new Size(35, 14); |
| | | // |
| | | // simpleLabelItemDelete |
| | | // |
| | | simpleLabelItemDelete.AllowHotTrack = false; |
| | | simpleLabelItemDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItemDelete.ImageOptions.SvgImage"); |
| | | simpleLabelItemDelete.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | simpleLabelItemDelete.Location = new Point(279, 0); |
| | | simpleLabelItemDelete.Name = "simpleLabelItemDelete"; |
| | | simpleLabelItemDelete.Size = new Size(33, 24); |
| | | simpleLabelItemDelete.Text = " "; |
| | | simpleLabelItemDelete.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | simpleLabelItemDelete.TextSize = new Size(29, 20); |
| | | // |
| | | // simpleLabelItem1 |
| | | // |
| | | simpleLabelItem1.AllowHotTrack = false; |
| | | simpleLabelItem1.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItem1.ImageOptions.SvgImage"); |
| | | simpleLabelItem1.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | simpleLabelItem1.Location = new Point(279, 0); |
| | | simpleLabelItem1.Name = "simpleLabelItemDelete"; |
| | | simpleLabelItem1.Size = new Size(33, 24); |
| | | simpleLabelItem1.Text = " "; |
| | | simpleLabelItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | simpleLabelItem1.TextSize = new Size(29, 20); |
| | | // |
| | | // simpleLabelItem2 |
| | | // |
| | | simpleLabelItem2.AllowHotTrack = false; |
| | | simpleLabelItem2.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItem2.ImageOptions.SvgImage"); |
| | | simpleLabelItem2.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | simpleLabelItem2.Location = new Point(379, 0); |
| | | simpleLabelItem2.Name = "simpleLabelItemDelete"; |
| | | simpleLabelItem2.Size = new Size(45, 24); |
| | | simpleLabelItem2.Text = " "; |
| | | simpleLabelItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; |
| | | simpleLabelItem2.TextSize = new Size(29, 20); |
| | | // |
| | | // simpleLabelDelete |
| | | // |
| | | simpleLabelDelete.AllowHotTrack = false; |
| | | simpleLabelDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItem3.ImageOptions.SvgImage"); |
| | | simpleLabelDelete.ImageOptions.SvgImageSize = new Size(20, 20); |
| | | simpleLabelDelete.Location = new Point(385, 48); |
| | | simpleLabelDelete.Name = "simpleLabelDelete"; |
| | | simpleLabelDelete.Size = new Size(39, 24); |
| | | simpleLabelDelete.Text = " "; |
| | | simpleLabelDelete.TextSize = new Size(35, 20); |
| | | simpleLabelDelete.Click += simpleLabelDelete_Click; |
| | | // |
| | | // AddMenuDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(438, 273); |
| | | ClientSize = new Size(444, 290); |
| | | Controls.Add(layoutControl1); |
| | | Margin = new Padding(3, 2, 3, 2); |
| | | Name = "AddMenuDlg"; |
| | |
| | | ((System.ComponentModel.ISupportInitialize)ComboBoxEditParentsChoice.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)NameTextEdit.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)CodeTextEdit.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)TxtEditPermission.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)DescriptionMemoEdit.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)imageComboBoxMenuType.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)ItemForName).EndInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelItemDelete).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)simpleLabelDelete).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraEditors.SimpleButton btnOk; |
| | | private DevExpress.XtraEditors.SimpleButton btnCancel; |
| | | private DevExpress.XtraEditors.TextEdit NameTextEdit; |
| | | private DevExpress.XtraEditors.TextEdit CodeTextEdit; |
| | | private DevExpress.XtraEditors.TextEdit TxtEditPermission; |
| | | private DevExpress.XtraEditors.MemoEdit DescriptionMemoEdit; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; |
| | |
| | | private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraEditors.ImageComboBoxEdit imageComboBoxMenuType; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItemDelete; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelDelte; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelDelete; |
| | | private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem2; |
| | | } |
| | | } |