From 6171f94b5ca6c804ac2892d214943ff0ac400d26 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期三, 26 三月 2025 16:07:42 +0800 Subject: [PATCH] 模型编辑 --- WinFrmUI/PBS.WinFrmUI.Hydro/02-quick-modeling/02-place/info/HospitalPlaceInfoCtrl.Designer.cs | 82 ++++++++++++++++++++--------------------- 1 files changed, 40 insertions(+), 42 deletions(-) diff --git a/WinFrmUI/PBS.WinFrmUI.Hydro/02-quick-modeling/02-place/info/HospitalPlaceInfoCtrl.Designer.cs b/WinFrmUI/PBS.WinFrmUI.Hydro/02-quick-modeling/02-place/info/HospitalPlaceInfoCtrl.Designer.cs index 10ab148..f732816 100644 --- a/WinFrmUI/PBS.WinFrmUI.Hydro/02-quick-modeling/02-place/info/HospitalPlaceInfoCtrl.Designer.cs +++ b/WinFrmUI/PBS.WinFrmUI.Hydro/02-quick-modeling/02-place/info/HospitalPlaceInfoCtrl.Designer.cs @@ -28,24 +28,24 @@ /// </summary> private void InitializeComponent() { - components = new System.ComponentModel.Container(); + components = new Container(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); - cbLevel = new DevExpress.XtraEditors.ComboBoxEdit(); - cbHospitalType = new DevExpress.XtraEditors.ComboBoxEdit(); + cbLevel = new ComboBoxEdit(); + cbHospitalType = new ComboBoxEdit(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); - ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); + ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)cbLevel.Properties).BeginInit(); - ((System.ComponentModel.ISupportInitialize)cbHospitalType.Properties).BeginInit(); - ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem11).BeginInit(); - ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); + ((ISupportInitialize)cbLevel.Properties).BeginInit(); + ((ISupportInitialize)cbHospitalType.Properties).BeginInit(); + ((ISupportInitialize)Root).BeginInit(); + ((ISupportInitialize)layoutControlItem3).BeginInit(); + ((ISupportInitialize)layoutControlItem11).BeginInit(); + ((ISupportInitialize)emptySpaceItem1).BeginInit(); + ((ISupportInitialize)dxErrorProvider1).BeginInit(); SuspendLayout(); // // layoutControl1 @@ -58,55 +58,54 @@ layoutControl1.Name = "layoutControl1"; layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(821, 270, 650, 400); layoutControl1.Root = Root; - layoutControl1.Size = new Size(727, 158); + layoutControl1.Size = new Size(600, 200); layoutControl1.TabIndex = 132; layoutControl1.Text = "layoutControl1"; // // cbLevel // - cbLevel.Location = new Point(453, 12); + cbLevel.Location = new Point(379, 2); cbLevel.Margin = new Padding(2, 3, 2, 3); - cbLevel.MinimumSize = new Size(0, 36); cbLevel.Name = "cbLevel"; - cbLevel.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); + cbLevel.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); cbLevel.Properties.Items.AddRange(new object[] { "涓�绾х敳绛�", "涓�绾т箼绛�", "涓�绾т笝绛�", "浜岀骇鐢茬瓑", "浜岀骇涔欑瓑", "浜岀骇涓欑瓑", "涓夌骇鐢茬瓑", "涓夌骇涔欑瓑", "涓夌骇涓欑瓑" }); cbLevel.Properties.NullText = "璇烽�夋嫨"; - cbLevel.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; - cbLevel.Size = new Size(262, 36); + cbLevel.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; + cbLevel.Size = new Size(219, 24); cbLevel.StyleController = layoutControl1; cbLevel.TabIndex = 2; // // cbHospitalType // - cbHospitalType.Location = new Point(89, 12); + cbHospitalType.Location = new Point(79, 2); cbHospitalType.Margin = new Padding(2, 3, 2, 3); - cbHospitalType.MinimumSize = new Size(0, 36); cbHospitalType.Name = "cbHospitalType"; - cbHospitalType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); + cbHospitalType.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); cbHospitalType.Properties.Items.AddRange(new object[] { "鍏姙", "绉佸姙" }); cbHospitalType.Properties.NullText = "璇烽�夋嫨"; - cbHospitalType.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; - cbHospitalType.Size = new Size(283, 36); + cbHospitalType.Properties.TextEditStyle = TextEditStyles.DisableTextEditor; + cbHospitalType.Size = new Size(219, 24); cbHospitalType.StyleController = layoutControl1; cbHospitalType.TabIndex = 0; // // Root // Root.AppearanceItemCaption.Options.UseTextOptions = true; - Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; + Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, emptySpaceItem1, layoutControlItem11 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, layoutControlItem11, emptySpaceItem1 }); Root.Name = "Root"; - Root.Size = new Size(727, 158); + Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + Root.Size = new Size(600, 200); Root.TextVisible = false; // // layoutControlItem3 // layoutControlItem3.Control = cbLevel; - layoutControlItem3.Location = new Point(364, 0); + layoutControlItem3.Location = new Point(300, 0); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(343, 138); + layoutControlItem3.Size = new Size(300, 28); layoutControlItem3.Text = "鍖婚櫌绛夌骇:"; layoutControlItem3.TextSize = new Size(65, 18); // @@ -115,40 +114,39 @@ layoutControlItem11.Control = cbHospitalType; layoutControlItem11.Location = new Point(0, 0); layoutControlItem11.Name = "layoutControlItem11"; - layoutControlItem11.Size = new Size(364, 40); + layoutControlItem11.Size = new Size(300, 28); layoutControlItem11.Text = "鍖婚櫌鎬ц川:"; layoutControlItem11.TextSize = new Size(65, 18); // // emptySpaceItem1 // emptySpaceItem1.AllowHotTrack = false; - emptySpaceItem1.Location = new Point(0, 40); + emptySpaceItem1.Location = new Point(0, 28); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(364, 98); + emptySpaceItem1.Size = new Size(600, 172); emptySpaceItem1.TextSize = new Size(0, 0); // // dxErrorProvider1 // dxErrorProvider1.ContainerControl = this; // - // HospitalWizardForm + // HospitalPlaceInfoCtrl // AutoScaleDimensions = new SizeF(8F, 18F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(layoutControl1); Margin = new Padding(2, 3, 2, 3); - Name = "HospitalWizardForm"; - Size = new Size(727, 158); - Load += HospitalWizardForm_Load; - ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); + Name = "HospitalPlaceInfoCtrl"; + Size = new Size(600, 200); + ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)cbLevel.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)cbHospitalType.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)Root).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem11).EndInit(); - ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); - ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); + ((ISupportInitialize)cbLevel.Properties).EndInit(); + ((ISupportInitialize)cbHospitalType.Properties).EndInit(); + ((ISupportInitialize)Root).EndInit(); + ((ISupportInitialize)layoutControlItem3).EndInit(); + ((ISupportInitialize)layoutControlItem11).EndInit(); + ((ISupportInitialize)emptySpaceItem1).EndInit(); + ((ISupportInitialize)dxErrorProvider1).EndInit(); ResumeLayout(false); } -- Gitblit v1.9.3