From ce2231765b7423435361f30019509e3c43d24f4f Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期五, 25 十月 2024 16:20:30 +0800 Subject: [PATCH] 增加水泵批量设置 --- WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/AddSysCatalogDlg.Designer.cs | 89 ++++++++++++++++++++++++++++++++++++-------- 1 files changed, 73 insertions(+), 16 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/AddSysCatalogDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/AddSysCatalogDlg.Designer.cs index 50a07b9..b6b4bbc 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/AddSysCatalogDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/AddSysCatalogDlg.Designer.cs @@ -35,6 +35,8 @@ TextEditCode = new DevExpress.XtraEditors.TextEdit(); TextEditName = new DevExpress.XtraEditors.TextEdit(); TextEditDescription = new DevExpress.XtraEditors.MemoEdit(); + ComboBoxEditParentsChoice = new DevExpress.XtraEditors.TreeListLookUpEdit(); + treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -42,12 +44,16 @@ layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); + treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)ComboBoxEditParentsChoice.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).BeginInit(); ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); @@ -55,6 +61,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); SuspendLayout(); // @@ -65,6 +72,7 @@ layoutControl1.Controls.Add(TextEditCode); layoutControl1.Controls.Add(TextEditName); layoutControl1.Controls.Add(TextEditDescription); + layoutControl1.Controls.Add(ComboBoxEditParentsChoice); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); layoutControl1.Name = "layoutControl1"; @@ -99,27 +107,51 @@ // // TextEditCode // - TextEditCode.Location = new Point(48, 32); + TextEditCode.Location = new Point(55, 32); TextEditCode.Name = "TextEditCode"; - TextEditCode.Size = new Size(455, 20); + TextEditCode.Size = new Size(448, 20); TextEditCode.StyleController = layoutControl1; TextEditCode.TabIndex = 3; // // TextEditName // - TextEditName.Location = new Point(48, 8); + TextEditName.Location = new Point(55, 8); TextEditName.Name = "TextEditName"; - TextEditName.Size = new Size(455, 20); + TextEditName.Size = new Size(448, 20); TextEditName.StyleController = layoutControl1; TextEditName.TabIndex = 0; // // TextEditDescription // - TextEditDescription.Location = new Point(48, 56); + TextEditDescription.Location = new Point(55, 80); TextEditDescription.Name = "TextEditDescription"; - TextEditDescription.Size = new Size(455, 185); + TextEditDescription.Size = new Size(448, 161); TextEditDescription.StyleController = layoutControl1; TextEditDescription.TabIndex = 4; + // + // ComboBoxEditParentsChoice + // + ComboBoxEditParentsChoice.Location = new Point(55, 56); + 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(448, 20); + ComboBoxEditParentsChoice.StyleController = layoutControl1; + ComboBoxEditParentsChoice.TabIndex = 7; + // + // treeListLookUpEdit1TreeList + // + treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 }); + treeListLookUpEdit1TreeList.Location = new Point(0, 0); + treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; + treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; + treeListLookUpEdit1TreeList.Size = new Size(400, 200); + treeListLookUpEdit1TreeList.TabIndex = 0; + treeListLookUpEdit1TreeList.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; // // Root // @@ -127,7 +159,7 @@ Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, emptySpaceItem1, layoutControlItem4 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, emptySpaceItem1, layoutControlItem4, layoutControlItem2 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); Root.Size = new Size(511, 275); @@ -140,25 +172,26 @@ layoutControlItem3.Name = "layoutControlItem3"; layoutControlItem3.Size = new Size(499, 24); layoutControlItem3.Text = "缂栫爜:"; - layoutControlItem3.TextSize = new Size(28, 14); + layoutControlItem3.TextSize = new Size(35, 14); // // layoutControlItem5 // layoutControlItem5.Control = TextEditDescription; - layoutControlItem5.Location = new Point(0, 48); + layoutControlItem5.Location = new Point(0, 72); layoutControlItem5.Name = "layoutControlItem5"; - layoutControlItem5.Size = new Size(499, 189); + layoutControlItem5.Size = new Size(499, 165); layoutControlItem5.Text = "璇存槑:"; - layoutControlItem5.TextSize = new Size(28, 14); + layoutControlItem5.TextSize = new Size(35, 14); // // layoutControlItem1 // + layoutControlItem1.AllowHtmlStringInCaption = true; layoutControlItem1.Control = TextEditName; layoutControlItem1.Location = new Point(0, 0); layoutControlItem1.Name = "layoutControlItem1"; layoutControlItem1.Size = new Size(499, 24); - layoutControlItem1.Text = "鍚嶇О:"; - layoutControlItem1.TextSize = new Size(28, 14); + layoutControlItem1.Text = "<color=red>*</color>鍚嶇О:"; + layoutControlItem1.TextSize = new Size(35, 14); // // layoutControlItem6 // @@ -186,24 +219,43 @@ layoutControlItem4.TextSize = new Size(0, 0); layoutControlItem4.TextVisible = false; // + // layoutControlItem2 + // + layoutControlItem2.Control = ComboBoxEditParentsChoice; + layoutControlItem2.Location = new Point(0, 48); + layoutControlItem2.Name = "layoutControlItem2"; + layoutControlItem2.Size = new Size(499, 24); + layoutControlItem2.Text = "鐖剁骇:"; + layoutControlItem2.TextSize = new Size(35, 14); + // // dxErrorProvider1 // dxErrorProvider1.ContainerControl = this; // - // AddCatlogDlg + // treeListColumn1 + // + treeListColumn1.Caption = "treeListColumn1"; + treeListColumn1.FieldName = "Name"; + treeListColumn1.Name = "treeListColumn1"; + treeListColumn1.Visible = true; + treeListColumn1.VisibleIndex = 0; + // + // AddSysCatalogDlg // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(511, 275); Controls.Add(layoutControl1); - Name = "AddCatlogDlg"; + Name = "AddSysCatalogDlg"; StartPosition = FormStartPosition.CenterScreen; - Text = "娣诲姞绫诲瀷"; + Text = "娣诲姞鍒嗙被"; ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)ComboBoxEditParentsChoice.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)treeListLookUpEdit1TreeList).EndInit(); ((System.ComponentModel.ISupportInitialize)Root).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); @@ -211,6 +263,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); ResumeLayout(false); } @@ -231,5 +284,9 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraEditors.TreeListLookUpEdit ComboBoxEditParentsChoice; + private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; + private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; } } \ No newline at end of file -- Gitblit v1.9.3