From ad8f813f5eddd66740b4e09801e4ea02ddf70a4a Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 19 二月 2025 15:58:22 +0800 Subject: [PATCH] 继续优化报表 --- WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/EditMenuDlg.Designer.cs | 162 +++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 129 insertions(+), 33 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/EditMenuDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/EditMenuDlg.Designer.cs index 48e9d3f..1ff1865 100644 --- a/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/EditMenuDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/EditMenuDlg.Designer.cs @@ -31,10 +31,14 @@ components = new System.ComponentModel.Container(); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); layoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); + ComboBoxEditParentsChoice = new DevExpress.XtraEditors.TreeListLookUpEdit(); + treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); + treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + imageComboBoxMenuType = new DevExpress.XtraEditors.ImageComboBoxEdit(); 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(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); @@ -44,11 +48,17 @@ layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); ((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)imageComboBoxMenuType.Properties).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)Root).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit(); @@ -58,6 +68,9 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); SuspendLayout(); // // dxErrorProvider1 @@ -66,10 +79,12 @@ // // layoutControl1 // + layoutControl1.Controls.Add(ComboBoxEditParentsChoice); + layoutControl1.Controls.Add(imageComboBoxMenuType); 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.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); @@ -81,14 +96,55 @@ layoutControl1.TabIndex = 1; layoutControl1.Text = "dataLayoutControl1"; // + // ComboBoxEditParentsChoice + // + 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.NullText = ""; + ComboBoxEditParentsChoice.Properties.PopupSizeable = false; + ComboBoxEditParentsChoice.Properties.TreeList = treeListLookUpEdit1TreeList; + ComboBoxEditParentsChoice.Properties.ValueMember = "ID"; + ComboBoxEditParentsChoice.Size = new Size(367, 20); + ComboBoxEditParentsChoice.StyleController = layoutControl1; + ComboBoxEditParentsChoice.TabIndex = 5; + // + // treeListLookUpEdit1TreeList + // + treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 }); + treeListLookUpEdit1TreeList.Location = new Point(-13, 36); + treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; + treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; + treeListLookUpEdit1TreeList.Size = new Size(400, 200); + treeListLookUpEdit1TreeList.TabIndex = 0; + treeListLookUpEdit1TreeList.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; + // + // treeListColumn1 + // + treeListColumn1.Caption = "treeListColumn1"; + treeListColumn1.FieldName = "Name"; + treeListColumn1.Name = "treeListColumn1"; + treeListColumn1.Visible = true; + treeListColumn1.VisibleIndex = 0; + // + // 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(367, 20); + imageComboBoxMenuType.StyleController = layoutControl1; + imageComboBoxMenuType.TabIndex = 4; + // // btnOk // btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; btnOk.Appearance.Options.UseBackColor = true; - btnOk.Location = new Point(257, 246); + btnOk.Location = new Point(256, 244); btnOk.Margin = new Padding(3, 2, 3, 2); btnOk.Name = "btnOk"; - btnOk.Size = new Size(83, 19); + btnOk.Size = new Size(83, 17); btnOk.StyleController = layoutControl1; btnOk.TabIndex = 8; btnOk.Text = "纭畾"; @@ -99,38 +155,38 @@ btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; btnCancel.Appearance.Options.UseBackColor = true; btnCancel.DialogResult = DialogResult.Cancel; - btnCancel.Location = new Point(344, 246); + btnCancel.Location = new Point(343, 244); btnCancel.Margin = new Padding(3, 2, 3, 2); btnCancel.Name = "btnCancel"; - btnCancel.Size = new Size(83, 19); + btnCancel.Size = new Size(83, 17); btnCancel.StyleController = layoutControl1; btnCancel.TabIndex = 7; btnCancel.Text = "鍙栨秷"; // // NameTextEdit // - NameTextEdit.Location = new Point(56, 8); + NameTextEdit.Location = new Point(59, 12); NameTextEdit.Margin = new Padding(3, 2, 3, 2); NameTextEdit.Name = "NameTextEdit"; - NameTextEdit.Size = new Size(161, 20); + NameTextEdit.Size = new Size(158, 20); NameTextEdit.StyleController = layoutControl1; NameTextEdit.TabIndex = 4; // - // CodeTextEdit + // TxtEditPermission // - CodeTextEdit.Location = new Point(266, 8); - CodeTextEdit.Margin = new Padding(3, 2, 3, 2); - CodeTextEdit.Name = "CodeTextEdit"; - CodeTextEdit.Size = new Size(161, 20); - CodeTextEdit.StyleController = layoutControl1; - CodeTextEdit.TabIndex = 5; + TxtEditPermission.Location = new Point(268, 12); + TxtEditPermission.Margin = new Padding(3, 2, 3, 2); + TxtEditPermission.Name = "TxtEditPermission"; + TxtEditPermission.Size = new Size(158, 20); + TxtEditPermission.StyleController = layoutControl1; + TxtEditPermission.TabIndex = 5; // // DescriptionMemoEdit // - DescriptionMemoEdit.Location = new Point(56, 30); + DescriptionMemoEdit.Location = new Point(59, 84); DescriptionMemoEdit.Margin = new Padding(3, 2, 3, 2); DescriptionMemoEdit.Name = "DescriptionMemoEdit"; - DescriptionMemoEdit.Size = new Size(371, 214); + DescriptionMemoEdit.Size = new Size(367, 156); DescriptionMemoEdit.StyleController = layoutControl1; DescriptionMemoEdit.TabIndex = 6; // @@ -149,10 +205,10 @@ // layoutControlGroup1.AllowDrawBackground = false; layoutControlGroup1.GroupBordersVisible = false; - layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, ItemForCode, layoutControlItem1, emptySpaceItem1, layoutControlItem2 }); + layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, ItemForCode, layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3, layoutControlItem5 }); layoutControlGroup1.Location = new Point(0, 0); layoutControlGroup1.Name = "autoGeneratedGroup0"; - layoutControlGroup1.Size = new Size(420, 259); + layoutControlGroup1.Size = new Size(418, 253); // // ItemForName // @@ -160,16 +216,16 @@ ItemForName.Control = NameTextEdit; ItemForName.Location = new Point(0, 0); ItemForName.Name = "ItemForName"; - ItemForName.Size = new Size(210, 22); + ItemForName.Size = new Size(209, 24); ItemForName.Text = "<color=red>*</color>鍚嶇О:"; ItemForName.TextSize = new Size(35, 14); // // ItemForDescription // ItemForDescription.Control = DescriptionMemoEdit; - ItemForDescription.Location = new Point(0, 22); + ItemForDescription.Location = new Point(0, 72); ItemForDescription.Name = "ItemForDescription"; - ItemForDescription.Size = new Size(420, 216); + ItemForDescription.Size = new Size(418, 160); ItemForDescription.StartNewLine = true; ItemForDescription.Text = "澶囨敞:"; ItemForDescription.TextSize = new Size(35, 14); @@ -177,17 +233,17 @@ // ItemForCode // ItemForCode.AllowHtmlStringInCaption = true; - ItemForCode.Control = CodeTextEdit; - ItemForCode.Location = new Point(210, 0); + ItemForCode.Control = TxtEditPermission; + ItemForCode.Location = new Point(209, 0); ItemForCode.Name = "ItemForCode"; - ItemForCode.Size = new Size(210, 22); - ItemForCode.Text = "<color=red>*</color>缂栫爜:"; + ItemForCode.Size = new Size(209, 24); + ItemForCode.Text = "<color=red>*</color>鏍囪瘑:"; ItemForCode.TextSize = new Size(35, 14); // // layoutControlItem1 // layoutControlItem1.Control = btnCancel; - layoutControlItem1.Location = new Point(333, 238); + layoutControlItem1.Location = new Point(331, 232); layoutControlItem1.MaxSize = new Size(87, 21); layoutControlItem1.MinSize = new Size(87, 21); layoutControlItem1.Name = "layoutControlItem1"; @@ -199,15 +255,15 @@ // emptySpaceItem1 // emptySpaceItem1.AllowHotTrack = false; - emptySpaceItem1.Location = new Point(0, 238); + emptySpaceItem1.Location = new Point(0, 232); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(246, 21); + emptySpaceItem1.Size = new Size(244, 21); emptySpaceItem1.TextSize = new Size(0, 0); // // layoutControlItem2 // layoutControlItem2.Control = btnOk; - layoutControlItem2.Location = new Point(246, 238); + layoutControlItem2.Location = new Point(244, 232); layoutControlItem2.MaxSize = new Size(87, 21); layoutControlItem2.MinSize = new Size(87, 21); layoutControlItem2.Name = "layoutControlItem2"; @@ -215,6 +271,33 @@ layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; + // + // layoutControlItem3 + // + layoutControlItem3.Control = imageComboBoxMenuType; + layoutControlItem3.Location = new Point(0, 24); + layoutControlItem3.Name = "layoutControlItem3"; + layoutControlItem3.Size = new Size(418, 24); + layoutControlItem3.Text = "绫诲瀷:"; + layoutControlItem3.TextSize = new Size(35, 14); + // + // layoutControlItem5 + // + layoutControlItem5.Control = ComboBoxEditParentsChoice; + layoutControlItem5.Location = new Point(0, 48); + layoutControlItem5.Name = "layoutControlItem5"; + layoutControlItem5.Size = new Size(418, 24); + layoutControlItem5.Text = "鐖剁骇:"; + layoutControlItem5.TextSize = new Size(35, 14); + // + // layoutControlItem4 + // + layoutControlItem4.AllowHtmlStringInCaption = true; + layoutControlItem4.Location = new Point(0, 24); + layoutControlItem4.Name = "layoutControlItem4"; + layoutControlItem4.Size = new Size(418, 24); + layoutControlItem4.Text = "<color=red>*</color>绫诲瀷:"; + layoutControlItem4.TextSize = new Size(35, 14); // // EditMenuDlg // @@ -229,8 +312,11 @@ ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)ComboBoxEditParentsChoice.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).EndInit(); + ((System.ComponentModel.ISupportInitialize)imageComboBoxMenuType.Properties).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)Root).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit(); @@ -240,6 +326,9 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); ResumeLayout(false); } @@ -249,7 +338,7 @@ 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; @@ -259,5 +348,12 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraEditors.ImageComboBoxEdit imageComboBoxMenuType; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraEditors.TreeListLookUpEdit ComboBoxEditParentsChoice; + private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; + private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; } } \ No newline at end of file -- Gitblit v1.9.3