From f1d63f8302348778785bf713c5690db8a00cd560 Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期日, 03 十一月 2024 18:23:21 +0800 Subject: [PATCH] 补充换热器、空压机在network中的对象 --- WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SetSysPropForCatalogDlg.Designer.cs | 49 +++++++++++++++++++++++-------------------------- 1 files changed, 23 insertions(+), 26 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SetSysPropForCatalogDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SetSysPropForCatalogDlg.Designer.cs index 2365b33..e424d0f 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SetSysPropForCatalogDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SetSysPropForCatalogDlg.Designer.cs @@ -33,7 +33,6 @@ layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); treeList1 = new DevExpress.XtraTreeList.TreeList(); colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); - colIsHave = new DevExpress.XtraTreeList.Columns.TreeListColumn(); colUnitName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); colIsNull = new DevExpress.XtraTreeList.Columns.TreeListColumn(); colDefaultValue = new DevExpress.XtraTreeList.Columns.TreeListColumn(); @@ -64,7 +63,8 @@ // BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; BtnOk.Appearance.Options.UseBackColor = true; - BtnOk.Location = new Point(654, 471); + BtnOk.Location = new Point(654, 384); + BtnOk.Margin = new Padding(3, 2, 3, 2); BtnOk.Name = "BtnOk"; BtnOk.Size = new Size(107, 22); BtnOk.StyleController = layoutControl1; @@ -79,26 +79,29 @@ layoutControl1.Controls.Add(BtnOk); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 0); + layoutControl1.Margin = new Padding(3, 2, 3, 2); layoutControl1.Name = "layoutControl1"; layoutControl1.Root = Root; - layoutControl1.Size = new Size(874, 495); + layoutControl1.Size = new Size(874, 408); layoutControl1.TabIndex = 9; layoutControl1.Text = "layoutControl1"; // // treeList1 // treeList1.CheckBoxFieldName = "IsHave"; - treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colIsHave, colUnitName, colIsNull, colDefaultValue, colPropChoice }); + treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colUnitName, colIsNull, colDefaultValue, colPropChoice }); treeList1.DataSource = sysCatalogPropViewModelBindingSource; treeList1.Location = new Point(2, 2); + treeList1.Margin = new Padding(3, 2, 3, 2); treeList1.Name = "treeList1"; treeList1.OptionsBehavior.AllowRecursiveNodeChecking = true; + treeList1.OptionsBehavior.PopulateServiceColumns = true; treeList1.OptionsScrollAnnotations.ShowSelectedRows = DevExpress.Utils.DefaultBoolean.True; treeList1.OptionsSelection.MultiSelect = true; treeList1.OptionsView.CheckBoxStyle = DevExpress.XtraTreeList.DefaultNodeCheckBoxStyle.Check; treeList1.OptionsView.RootCheckBoxStyle = DevExpress.XtraTreeList.NodeCheckBoxStyle.Check; treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemCheckedComboBoxEdit1 }); - treeList1.Size = new Size(870, 465); + treeList1.Size = new Size(870, 378); treeList1.TabIndex = 4; treeList1.BeforeCheckNode += treeList1_BeforeCheckNode; treeList1.AfterCheckNode += treeList1_AfterCheckNode; @@ -113,15 +116,7 @@ colName.OptionsColumn.AllowSort = true; colName.Visible = true; colName.VisibleIndex = 0; - // - // colIsHave - // - colIsHave.Caption = "鏄惁閫夋嫨"; - colIsHave.FieldName = "IsHave"; - colIsHave.Name = "colIsHave"; - colIsHave.OptionsColumn.AllowSort = true; - colIsHave.Visible = true; - colIsHave.VisibleIndex = 4; + colName.Width = 169; // // colUnitName // @@ -131,6 +126,7 @@ colUnitName.OptionsColumn.AllowSort = true; colUnitName.Visible = true; colUnitName.VisibleIndex = 1; + colUnitName.Width = 169; // // colIsNull // @@ -140,6 +136,7 @@ colIsNull.OptionsColumn.AllowSort = true; colIsNull.Visible = true; colIsNull.VisibleIndex = 3; + colIsNull.Width = 59; // // colDefaultValue // @@ -149,6 +146,7 @@ colDefaultValue.OptionsColumn.AllowSort = true; colDefaultValue.Visible = true; colDefaultValue.VisibleIndex = 2; + colDefaultValue.Width = 143; // // colPropChoice // @@ -158,7 +156,8 @@ colPropChoice.Name = "colPropChoice"; colPropChoice.OptionsColumn.AllowSort = true; colPropChoice.Visible = true; - colPropChoice.VisibleIndex = 5; + colPropChoice.VisibleIndex = 4; + colPropChoice.Width = 305; // // repositoryItemCheckedComboBoxEdit1 // @@ -166,7 +165,6 @@ repositoryItemCheckedComboBoxEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); repositoryItemCheckedComboBoxEdit1.Name = "repositoryItemCheckedComboBoxEdit1"; repositoryItemCheckedComboBoxEdit1.SelectAllItemCaption = "鍏ㄩ��"; - repositoryItemCheckedComboBoxEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; repositoryItemCheckedComboBoxEdit1.EditValueChanged += repositoryItemCheckedComboBoxEdit1_EditValueChanged; // // sysCatalogPropViewModelBindingSource @@ -178,7 +176,8 @@ btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; btnCancel.Appearance.Options.UseBackColor = true; btnCancel.DialogResult = DialogResult.Cancel; - btnCancel.Location = new Point(765, 471); + btnCancel.Location = new Point(765, 384); + btnCancel.Margin = new Padding(3, 2, 3, 2); btnCancel.Name = "btnCancel"; btnCancel.Size = new Size(107, 22); btnCancel.StyleController = layoutControl1; @@ -192,13 +191,13 @@ Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem1, emptySpaceItem2, layoutControlItem3 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - Root.Size = new Size(874, 495); + Root.Size = new Size(874, 408); Root.TextVisible = false; // // layoutControlItem2 // layoutControlItem2.Control = btnCancel; - layoutControlItem2.Location = new Point(763, 469); + layoutControlItem2.Location = new Point(763, 382); layoutControlItem2.Name = "layoutControlItem2"; layoutControlItem2.Size = new Size(111, 26); layoutControlItem2.TextSize = new Size(0, 0); @@ -207,7 +206,7 @@ // layoutControlItem1 // layoutControlItem1.Control = BtnOk; - layoutControlItem1.Location = new Point(652, 469); + layoutControlItem1.Location = new Point(652, 382); layoutControlItem1.Name = "layoutControlItem1"; layoutControlItem1.Size = new Size(111, 26); layoutControlItem1.TextSize = new Size(0, 0); @@ -216,7 +215,7 @@ // emptySpaceItem2 // emptySpaceItem2.AllowHotTrack = false; - emptySpaceItem2.Location = new Point(0, 469); + emptySpaceItem2.Location = new Point(0, 382); emptySpaceItem2.Name = "emptySpaceItem2"; emptySpaceItem2.Size = new Size(652, 26); emptySpaceItem2.TextSize = new Size(0, 0); @@ -226,7 +225,7 @@ layoutControlItem3.Control = treeList1; layoutControlItem3.Location = new Point(0, 0); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(874, 469); + layoutControlItem3.Size = new Size(874, 382); layoutControlItem3.TextSize = new Size(0, 0); layoutControlItem3.TextVisible = false; // @@ -240,11 +239,10 @@ // // SetSysPropForCatalogDlg // - AutoScaleDimensions = new SizeF(7F, 17F); + AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(874, 495); + ClientSize = new Size(874, 408); Controls.Add(layoutControl1); - Margin = new Padding(3, 4, 3, 4); Name = "SetSysPropForCatalogDlg"; StartPosition = FormStartPosition.CenterScreen; ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); @@ -273,7 +271,6 @@ private BindingSource sysCatalogPropViewModelBindingSource; private DevExpress.XtraTreeList.TreeList treeList1; private DevExpress.XtraTreeList.Columns.TreeListColumn colName; - private DevExpress.XtraTreeList.Columns.TreeListColumn colIsHave; private DevExpress.XtraTreeList.Columns.TreeListColumn colUnitName; private DevExpress.XtraTreeList.Columns.TreeListColumn colIsNull; private DevExpress.XtraTreeList.Columns.TreeListColumn colDefaultValue; -- Gitblit v1.9.3