From 668e7746a6fbe30cba78bffe37c9ce9b9ed9a4fe Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 16 四月 2024 12:01:10 +0800 Subject: [PATCH] 优化界面功能 --- WinFrm/ISupply.WinFrm.Main/basic/_UserControls/BuildWizardForm.Designer.cs | 160 +++++++++++++++++++++++++++++----------------------- 1 files changed, 89 insertions(+), 71 deletions(-) diff --git a/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/BuildWizardForm.Designer.cs b/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/BuildWizardForm.Designer.cs index 9007845..e405e5b 100644 --- a/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/BuildWizardForm.Designer.cs +++ b/WinFrm/ISupply.WinFrm.Main/basic/_UserControls/BuildWizardForm.Designer.cs @@ -119,138 +119,156 @@ // // cbCity // - cbCity.Location = new Point(449, 29); - cbCity.Margin = new Padding(2, 2, 2, 2); + cbCity.Location = new Point(450, 36); + cbCity.Margin = new Padding(2); cbCity.Name = "cbCity"; cbCity.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); cbCity.Properties.Items.AddRange(new object[] { "涓婃捣甯�" }); cbCity.Properties.NullText = "璇烽�夋嫨"; cbCity.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; - cbCity.Size = new Size(331, 20); + cbCity.Size = new Size(326, 20); cbCity.StyleController = layoutControl1; cbCity.TabIndex = 118; // // cbArea // - cbArea.Location = new Point(65, 29); - cbArea.Margin = new Padding(2, 2, 2, 2); + cbArea.Location = new Point(69, 36); + cbArea.Margin = new Padding(2); cbArea.Name = "cbArea"; cbArea.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); cbArea.Properties.Items.AddRange(new object[] { "涓婃捣甯�" }); cbArea.Properties.NullText = "璇烽�夋嫨"; cbArea.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; - cbArea.Size = new Size(262, 20); + cbArea.Size = new Size(258, 20); cbArea.StyleController = layoutControl1; cbArea.TabIndex = 116; // // cbDist // - cbDist.Location = new Point(65, 51); - cbDist.Margin = new Padding(2, 2, 2, 2); + cbDist.Location = new Point(69, 60); + cbDist.Margin = new Padding(2); cbDist.Name = "cbDist"; cbDist.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); cbDist.Properties.Items.AddRange(new object[] { "闂佃鍖�" }); cbDist.Properties.NullText = "璇烽�夋嫨"; cbDist.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; - cbDist.Size = new Size(262, 20); + cbDist.Size = new Size(258, 20); cbDist.StyleController = layoutControl1; cbDist.TabIndex = 112; // // cbPropertyType // - cbPropertyType.Location = new Point(449, 7); - cbPropertyType.Margin = new Padding(2, 2, 2, 2); + cbPropertyType.Location = new Point(450, 12); + cbPropertyType.Margin = new Padding(2); cbPropertyType.Name = "cbPropertyType"; cbPropertyType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); cbPropertyType.Properties.Items.AddRange(new object[] { "鍏瘬浣忓畢" }); cbPropertyType.Properties.NullText = "璇烽�夋嫨"; cbPropertyType.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; - cbPropertyType.Size = new Size(331, 20); + cbPropertyType.Size = new Size(326, 20); cbPropertyType.StyleController = layoutControl1; cbPropertyType.TabIndex = 111; // // txtName // - txtName.Location = new Point(65, 7); - txtName.Margin = new Padding(2, 2, 2, 2); + txtName.Location = new Point(69, 12); + txtName.Margin = new Padding(2); txtName.Name = "txtName"; - txtName.Size = new Size(262, 20); + txtName.Size = new Size(258, 20); txtName.StyleController = layoutControl1; txtName.TabIndex = 109; // // txtCompletionTime // - txtCompletionTime.Location = new Point(449, 51); - txtCompletionTime.Margin = new Padding(2, 2, 2, 2); + txtCompletionTime.Location = new Point(450, 60); + txtCompletionTime.Margin = new Padding(2); txtCompletionTime.Name = "txtCompletionTime"; - txtCompletionTime.Size = new Size(303, 20); + txtCompletionTime.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtCompletionTime.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtCompletionTime.Properties.MaskSettings.Set("mask", "f"); + txtCompletionTime.Size = new Size(298, 20); txtCompletionTime.StyleController = layoutControl1; txtCompletionTime.TabIndex = 108; // // txtProperTyYears // - txtProperTyYears.Location = new Point(65, 73); - txtProperTyYears.Margin = new Padding(2, 2, 2, 2); + txtProperTyYears.Location = new Point(69, 84); + txtProperTyYears.Margin = new Padding(2); txtProperTyYears.Name = "txtProperTyYears"; - txtProperTyYears.Size = new Size(233, 20); + txtProperTyYears.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtProperTyYears.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtProperTyYears.Properties.MaskSettings.Set("mask", "f"); + txtProperTyYears.Size = new Size(229, 20); txtProperTyYears.StyleController = layoutControl1; txtProperTyYears.TabIndex = 106; // // txtTotalHouseHolds // - txtTotalHouseHolds.Location = new Point(449, 73); - txtTotalHouseHolds.Margin = new Padding(2, 2, 2, 2); + txtTotalHouseHolds.Location = new Point(450, 84); + txtTotalHouseHolds.Margin = new Padding(2); txtTotalHouseHolds.Name = "txtTotalHouseHolds"; - txtTotalHouseHolds.Size = new Size(331, 20); + txtTotalHouseHolds.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtTotalHouseHolds.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtTotalHouseHolds.Properties.MaskSettings.Set("mask", "d"); + txtTotalHouseHolds.Size = new Size(326, 20); txtTotalHouseHolds.StyleController = layoutControl1; txtTotalHouseHolds.TabIndex = 104; // // txtAreaSquare // - txtAreaSquare.Location = new Point(65, 95); - txtAreaSquare.Margin = new Padding(2, 2, 2, 2); + txtAreaSquare.Location = new Point(69, 108); + txtAreaSquare.Margin = new Padding(2); txtAreaSquare.Name = "txtAreaSquare"; - txtAreaSquare.Size = new Size(262, 20); + txtAreaSquare.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtAreaSquare.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtAreaSquare.Properties.MaskSettings.Set("mask", "f"); + txtAreaSquare.Size = new Size(258, 20); txtAreaSquare.StyleController = layoutControl1; txtAreaSquare.TabIndex = 102; // // txtPlotRatio // - txtPlotRatio.Location = new Point(449, 95); - txtPlotRatio.Margin = new Padding(2, 2, 2, 2); + txtPlotRatio.Location = new Point(450, 108); + txtPlotRatio.Margin = new Padding(2); txtPlotRatio.Name = "txtPlotRatio"; - txtPlotRatio.Size = new Size(331, 20); + txtPlotRatio.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtPlotRatio.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtPlotRatio.Properties.MaskSettings.Set("mask", "f"); + txtPlotRatio.Size = new Size(326, 20); txtPlotRatio.StyleController = layoutControl1; txtPlotRatio.TabIndex = 100; // // txtGreeningRate // txtGreeningRate.IsEmptyContent = true; - txtGreeningRate.Location = new Point(65, 117); - txtGreeningRate.Margin = new Padding(2, 2, 2, 2); + txtGreeningRate.Location = new Point(69, 132); + txtGreeningRate.Margin = new Padding(2); txtGreeningRate.MinValue = null; txtGreeningRate.Name = "txtGreeningRate"; - txtGreeningRate.Size = new Size(262, 20); + txtGreeningRate.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtGreeningRate.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtGreeningRate.Properties.MaskSettings.Set("mask", "f"); + txtGreeningRate.Size = new Size(258, 20); txtGreeningRate.StyleController = layoutControl1; txtGreeningRate.TabIndex = 98; // // txtDeveloper // - txtDeveloper.Location = new Point(449, 117); - txtDeveloper.Margin = new Padding(2, 2, 2, 2); + txtDeveloper.Location = new Point(450, 132); + txtDeveloper.Margin = new Padding(2); txtDeveloper.Name = "txtDeveloper"; - txtDeveloper.Size = new Size(331, 20); + txtDeveloper.Size = new Size(326, 20); txtDeveloper.StyleController = layoutControl1; txtDeveloper.TabIndex = 96; // // txtAddress // txtAddress.IsEmptyContent = true; - txtAddress.Location = new Point(65, 139); - txtAddress.Margin = new Padding(2, 2, 2, 2); + txtAddress.Location = new Point(69, 156); + txtAddress.Margin = new Padding(2); txtAddress.MinValue = null; txtAddress.Name = "txtAddress"; - txtAddress.Size = new Size(715, 20); + txtAddress.Size = new Size(707, 20); txtAddress.StyleController = layoutControl1; txtAddress.TabIndex = 94; // @@ -266,9 +284,9 @@ // layoutControlItem1 // layoutControlItem1.Control = cbCity; - layoutControlItem1.Location = new Point(384, 22); + layoutControlItem1.Location = new Point(381, 24); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(390, 22); + layoutControlItem1.Size = new Size(387, 24); layoutControlItem1.Text = "鎵�灞炲煄甯�:"; layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem1.TextSize = new Size(52, 14); @@ -277,9 +295,9 @@ // layoutControlItem7 // layoutControlItem7.Control = cbDist; - layoutControlItem7.Location = new Point(0, 44); + layoutControlItem7.Location = new Point(0, 48); layoutControlItem7.Name = "layoutControlItem7"; - layoutControlItem7.Size = new Size(321, 22); + layoutControlItem7.Size = new Size(319, 24); layoutControlItem7.Text = "鎵�灞炲尯鍘�:"; layoutControlItem7.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem7.TextSize = new Size(52, 14); @@ -288,9 +306,9 @@ // layoutControlItem13 // layoutControlItem13.Control = txtProperTyYears; - layoutControlItem13.Location = new Point(0, 66); + layoutControlItem13.Location = new Point(0, 72); layoutControlItem13.Name = "layoutControlItem13"; - layoutControlItem13.Size = new Size(292, 22); + layoutControlItem13.Size = new Size(290, 24); layoutControlItem13.Text = "浜ф潈骞撮檺:"; layoutControlItem13.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem13.TextSize = new Size(52, 14); @@ -299,9 +317,9 @@ // layoutControlItem17 // layoutControlItem17.Control = txtAreaSquare; - layoutControlItem17.Location = new Point(0, 88); + layoutControlItem17.Location = new Point(0, 96); layoutControlItem17.Name = "layoutControlItem17"; - layoutControlItem17.Size = new Size(321, 22); + layoutControlItem17.Size = new Size(319, 24); layoutControlItem17.Text = "鎬诲缓闈㈢Н:"; layoutControlItem17.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem17.TextSize = new Size(52, 14); @@ -310,9 +328,9 @@ // layoutControlItem21 // layoutControlItem21.Control = txtGreeningRate; - layoutControlItem21.Location = new Point(0, 110); + layoutControlItem21.Location = new Point(0, 120); layoutControlItem21.Name = "layoutControlItem21"; - layoutControlItem21.Size = new Size(321, 22); + layoutControlItem21.Size = new Size(319, 24); layoutControlItem21.Text = "缁垮寲鐜�:"; layoutControlItem21.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem21.TextSize = new Size(40, 14); @@ -321,9 +339,9 @@ // layoutControlItem25 // layoutControlItem25.Control = txtAddress; - layoutControlItem25.Location = new Point(0, 132); + layoutControlItem25.Location = new Point(0, 144); layoutControlItem25.Name = "layoutControlItem25"; - layoutControlItem25.Size = new Size(774, 63); + layoutControlItem25.Size = new Size(768, 43); layoutControlItem25.Text = "璇︾粏鍦板潃:"; layoutControlItem25.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem25.TextSize = new Size(52, 14); @@ -334,7 +352,7 @@ layoutControlItem10.Control = txtName; layoutControlItem10.Location = new Point(0, 0); layoutControlItem10.Name = "layoutControlItem10"; - layoutControlItem10.Size = new Size(321, 22); + layoutControlItem10.Size = new Size(319, 24); layoutControlItem10.Text = "灏忓尯鍚嶇О:"; layoutControlItem10.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; layoutControlItem10.TextSize = new Size(52, 14); @@ -343,9 +361,9 @@ // layoutControlItem8 // layoutControlItem8.Control = cbPropertyType; - layoutControlItem8.Location = new Point(384, 0); + layoutControlItem8.Location = new Point(381, 0); layoutControlItem8.Name = "layoutControlItem8"; - layoutControlItem8.Size = new Size(390, 22); + layoutControlItem8.Size = new Size(387, 24); layoutControlItem8.Text = "鐗╀笟绫诲瀷:"; layoutControlItem8.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem8.TextSize = new Size(52, 14); @@ -354,9 +372,9 @@ // layoutControlItem3 // layoutControlItem3.Control = cbArea; - layoutControlItem3.Location = new Point(0, 22); + layoutControlItem3.Location = new Point(0, 24); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(321, 22); + layoutControlItem3.Size = new Size(319, 24); layoutControlItem3.Text = "鎵�灞炵渷浠�:"; layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem3.TextSize = new Size(52, 14); @@ -365,9 +383,9 @@ // layoutControlItem11 // layoutControlItem11.Control = txtCompletionTime; - layoutControlItem11.Location = new Point(384, 44); + layoutControlItem11.Location = new Point(381, 48); layoutControlItem11.Name = "layoutControlItem11"; - layoutControlItem11.Size = new Size(362, 22); + layoutControlItem11.Size = new Size(359, 24); layoutControlItem11.Text = "绔e伐鏃堕棿:"; layoutControlItem11.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem11.TextSize = new Size(52, 14); @@ -376,9 +394,9 @@ // layoutControlItem15 // layoutControlItem15.Control = txtTotalHouseHolds; - layoutControlItem15.Location = new Point(384, 66); + layoutControlItem15.Location = new Point(381, 72); layoutControlItem15.Name = "layoutControlItem15"; - layoutControlItem15.Size = new Size(390, 22); + layoutControlItem15.Size = new Size(387, 24); layoutControlItem15.Text = "鎬绘埛鏁�:"; layoutControlItem15.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem15.TextSize = new Size(40, 14); @@ -387,9 +405,9 @@ // layoutControlItem19 // layoutControlItem19.Control = txtPlotRatio; - layoutControlItem19.Location = new Point(384, 88); + layoutControlItem19.Location = new Point(381, 96); layoutControlItem19.Name = "layoutControlItem19"; - layoutControlItem19.Size = new Size(390, 22); + layoutControlItem19.Size = new Size(387, 24); layoutControlItem19.Text = "瀹圭Н鐜�:"; layoutControlItem19.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem19.TextSize = new Size(40, 14); @@ -398,9 +416,9 @@ // layoutControlItem23 // layoutControlItem23.Control = txtDeveloper; - layoutControlItem23.Location = new Point(384, 110); + layoutControlItem23.Location = new Point(381, 120); layoutControlItem23.Name = "layoutControlItem23"; - layoutControlItem23.Size = new Size(390, 22); + layoutControlItem23.Size = new Size(387, 24); layoutControlItem23.Text = "寮�鍙戝晢:"; layoutControlItem23.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; layoutControlItem23.TextSize = new Size(40, 14); @@ -409,17 +427,17 @@ // emptySpaceItem1 // emptySpaceItem1.AllowHotTrack = false; - emptySpaceItem1.Location = new Point(321, 0); + emptySpaceItem1.Location = new Point(319, 0); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(63, 132); + emptySpaceItem1.Size = new Size(62, 144); emptySpaceItem1.TextSize = new Size(0, 0); // // simpleLabelItem1 // simpleLabelItem1.AllowHotTrack = false; - simpleLabelItem1.Location = new Point(292, 66); + simpleLabelItem1.Location = new Point(290, 72); simpleLabelItem1.Name = "simpleLabelItem1"; - simpleLabelItem1.Size = new Size(29, 22); + simpleLabelItem1.Size = new Size(29, 24); simpleLabelItem1.Text = "骞�"; simpleLabelItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; simpleLabelItem1.TextSize = new Size(12, 14); @@ -427,9 +445,9 @@ // simpleLabelItem2 // simpleLabelItem2.AllowHotTrack = false; - simpleLabelItem2.Location = new Point(746, 44); + simpleLabelItem2.Location = new Point(740, 48); simpleLabelItem2.Name = "simpleLabelItem2"; - simpleLabelItem2.Size = new Size(28, 22); + simpleLabelItem2.Size = new Size(28, 24); simpleLabelItem2.Text = "骞�"; simpleLabelItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; simpleLabelItem2.TextSize = new Size(12, 14); @@ -439,7 +457,7 @@ AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(layoutControl1); - Margin = new Padding(2, 2, 2, 2); + Margin = new Padding(2); Name = "BuildWizardForm"; Size = new Size(788, 207); ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); -- Gitblit v1.9.3