From eb4679bfe7f2c945f3e03f6927c8fde893f7d33c Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 14 八月 2024 22:56:10 +0800 Subject: [PATCH] Revit解析bug修复 --- WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/EditSysPropDlg.Designer.cs | 61 ++++++++++++++++-------------- 1 files changed, 32 insertions(+), 29 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/EditSysPropDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/EditSysPropDlg.Designer.cs index d0a3c37..1591ddf 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/EditSysPropDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/EditSysPropDlg.Designer.cs @@ -35,7 +35,6 @@ TextEditCode = new DevExpress.XtraEditors.TextEdit(); TextEditName = new DevExpress.XtraEditors.TextEdit(); TextEditDescription = new DevExpress.XtraEditors.MemoEdit(); - TextEditFormat = new DevExpress.XtraEditors.TextEdit(); TextEditUnitName = new DevExpress.XtraEditors.TextEdit(); TextEditDefaultValue = new DevExpress.XtraEditors.TextEdit(); CheckEditIsNull = new DevExpress.XtraEditors.CheckEdit(); @@ -46,17 +45,17 @@ layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); + TextComoBoxFormat = new DevExpress.XtraEditors.ImageComboBoxEdit(); + layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); ((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)TextEditFormat.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditUnitName.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)TextEditDefaultValue.Properties).BeginInit(); ((System.ComponentModel.ISupportInitialize)CheckEditIsNull.Properties).BeginInit(); @@ -67,21 +66,22 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem8).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem9).BeginInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)TextComoBoxFormat.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem10).BeginInit(); SuspendLayout(); // // layoutControl1 // + layoutControl1.Controls.Add(TextComoBoxFormat); layoutControl1.Controls.Add(BtnOk); layoutControl1.Controls.Add(btnCancel); layoutControl1.Controls.Add(TextEditCode); layoutControl1.Controls.Add(TextEditName); layoutControl1.Controls.Add(TextEditDescription); - layoutControl1.Controls.Add(TextEditFormat); layoutControl1.Controls.Add(TextEditUnitName); layoutControl1.Controls.Add(TextEditDefaultValue); layoutControl1.Controls.Add(CheckEditIsNull); @@ -141,14 +141,6 @@ TextEditDescription.StyleController = layoutControl1; TextEditDescription.TabIndex = 4; // - // TextEditFormat - // - TextEditFormat.Location = new Point(72, 56); - TextEditFormat.Name = "TextEditFormat"; - TextEditFormat.Size = new Size(431, 20); - TextEditFormat.StyleController = layoutControl1; - TextEditFormat.TabIndex = 7; - // // TextEditUnitName // TextEditUnitName.Location = new Point(72, 80); @@ -181,7 +173,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, layoutControlItem2, layoutControlItem7, layoutControlItem8, layoutControlItem9 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem5, layoutControlItem1, layoutControlItem6, emptySpaceItem1, layoutControlItem4, layoutControlItem7, layoutControlItem8, layoutControlItem9, layoutControlItem10 }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); Root.Size = new Size(511, 275); @@ -240,15 +232,6 @@ layoutControlItem4.TextSize = new Size(0, 0); layoutControlItem4.TextVisible = false; // - // layoutControlItem2 - // - layoutControlItem2.Control = TextEditFormat; - layoutControlItem2.Location = new Point(0, 48); - layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(499, 24); - layoutControlItem2.Text = "灞炴�ф牸寮�:"; - layoutControlItem2.TextSize = new Size(52, 14); - // // layoutControlItem7 // layoutControlItem7.Control = TextEditUnitName; @@ -280,13 +263,32 @@ // dxErrorProvider1.ContainerControl = this; // - // EditPropDlg + // TextComoBoxFormat + // + TextComoBoxFormat.Location = new Point(72, 56); + TextComoBoxFormat.Name = "TextComoBoxFormat"; + TextComoBoxFormat.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); + TextComoBoxFormat.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏁存暟", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("闀挎暣鏁�", "2", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏁板��", "3", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏂囨湰", "4", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("澶氭枃鏈�", "5", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("鏃堕棿", "6", -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("甯冨皵鍊�", "7", -1) }); + TextComoBoxFormat.Size = new Size(431, 20); + TextComoBoxFormat.StyleController = layoutControl1; + TextComoBoxFormat.TabIndex = 11; + // + // layoutControlItem10 + // + layoutControlItem10.Control = TextComoBoxFormat; + layoutControlItem10.Location = new Point(0, 48); + layoutControlItem10.Name = "layoutControlItem10"; + layoutControlItem10.Size = new Size(499, 24); + layoutControlItem10.Text = "鏍煎紡:"; + layoutControlItem10.TextSize = new Size(52, 14); + // + // EditSysPropDlg // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(511, 275); Controls.Add(layoutControl1); - Name = "EditPropDlg"; + Name = "EditSysPropDlg"; StartPosition = FormStartPosition.CenterScreen; Text = "缂栬緫灞炴��"; ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); @@ -294,7 +296,6 @@ ((System.ComponentModel.ISupportInitialize)TextEditCode.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditName.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditDescription.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)TextEditFormat.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditUnitName.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)TextEditDefaultValue.Properties).EndInit(); ((System.ComponentModel.ISupportInitialize)CheckEditIsNull.Properties).EndInit(); @@ -305,11 +306,12 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem8).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem9).EndInit(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); + ((System.ComponentModel.ISupportInitialize)TextComoBoxFormat.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem10).EndInit(); ResumeLayout(false); } @@ -329,13 +331,14 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; - private DevExpress.XtraEditors.TextEdit TextEditFormat; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraEditors.TextEdit TextEditUnitName; private DevExpress.XtraEditors.TextEdit TextEditDefaultValue; private DevExpress.XtraEditors.CheckEdit CheckEditIsNull; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; + private DevExpress.XtraEditors.ImageComboBoxEdit TextComoBoxFormat; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; } } \ No newline at end of file -- Gitblit v1.9.3