From 9be9ba4e159969fb5e32648c2c34e912ccc3ae6d Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期五, 28 三月 2025 14:22:42 +0800 Subject: [PATCH] 优化细节问题 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/EditPackagePartPropDlg.Designer.cs | 294 +++++++++++++++++++++++++++++++--------------------------- 1 files changed, 159 insertions(+), 135 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/EditPackagePartPropDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/EditPackagePartPropDlg.Designer.cs index 503ac3b..87c328a 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/EditPackagePartPropDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/EditPackagePartPropDlg.Designer.cs @@ -29,9 +29,10 @@ /// </summary> private void InitializeComponent() { - components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditPackagePartPropDlg)); + components = new Container(); + ComponentResourceManager resources = new ComponentResourceManager(typeof(EditPackagePartPropDlg)); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + packageProductListBox1 = new Assets.PackageProductListBox(); BtnAddPackagePart = new DevExpress.XtraEditors.SimpleButton(); BtnOk = new DevExpress.XtraEditors.SimpleButton(); simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); @@ -60,6 +61,7 @@ layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); barManager1 = new DevExpress.XtraBars.BarManager(components); barDockControlTop = new DevExpress.XtraBars.BarDockControl(); barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); @@ -67,36 +69,34 @@ barDockControlRight = new DevExpress.XtraBars.BarDockControl(); popupPackagePartMenu = new DevExpress.XtraBars.PopupMenu(components); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); - packageProductListBox1 = new Assets.PackageProductListBox(); - layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); - ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); + ((ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)propGroupChoiceViewModelBindingSource).BeginInit(); - ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)TextEditProductName.Properties).BeginInit(); - ((System.ComponentModel.ISupportInitialize)TextEditProductCode.Properties).BeginInit(); - ((System.ComponentModel.ISupportInitialize)TextEditNo.Properties).BeginInit(); - ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); - ((System.ComponentModel.ISupportInitialize)r).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControAddPart).BeginInit(); - ((System.ComponentModel.ISupportInitialize)tabbedControlGroup1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem5).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem6).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem7).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)simpleLabelItemAddProp).BeginInit(); - ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup2).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup3).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup4).BeginInit(); - ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)popupPackagePartMenu).BeginInit(); - ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); + ((ISupportInitialize)gridControl1).BeginInit(); + ((ISupportInitialize)propGroupChoiceViewModelBindingSource).BeginInit(); + ((ISupportInitialize)gridView1).BeginInit(); + ((ISupportInitialize)TextEditProductName.Properties).BeginInit(); + ((ISupportInitialize)TextEditProductCode.Properties).BeginInit(); + ((ISupportInitialize)TextEditNo.Properties).BeginInit(); + ((ISupportInitialize)Root).BeginInit(); + ((ISupportInitialize)layoutControlItem3).BeginInit(); + ((ISupportInitialize)r).BeginInit(); + ((ISupportInitialize)layoutControlItem2).BeginInit(); + ((ISupportInitialize)layoutControAddPart).BeginInit(); + ((ISupportInitialize)tabbedControlGroup1).BeginInit(); + ((ISupportInitialize)layoutControlGroup1).BeginInit(); + ((ISupportInitialize)layoutControlItem5).BeginInit(); + ((ISupportInitialize)layoutControlItem6).BeginInit(); + ((ISupportInitialize)layoutControlItem7).BeginInit(); + ((ISupportInitialize)layoutControlItem1).BeginInit(); + ((ISupportInitialize)simpleLabelItemAddProp).BeginInit(); + ((ISupportInitialize)emptySpaceItem1).BeginInit(); + ((ISupportInitialize)layoutControlGroup2).BeginInit(); + ((ISupportInitialize)layoutControlGroup3).BeginInit(); + ((ISupportInitialize)layoutControlGroup4).BeginInit(); + ((ISupportInitialize)layoutControlItem4).BeginInit(); + ((ISupportInitialize)barManager1).BeginInit(); + ((ISupportInitialize)popupPackagePartMenu).BeginInit(); + ((ISupportInitialize)dxErrorProvider1).BeginInit(); SuspendLayout(); // // layoutControl1 @@ -110,21 +110,32 @@ layoutControl1.Controls.Add(TextEditProductCode); layoutControl1.Controls.Add(TextEditNo); layoutControl1.Dock = DockStyle.Fill; + layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup2, layoutControlGroup3, layoutControlGroup4 }); layoutControl1.Location = new Point(0, 0); + layoutControl1.Margin = new Padding(3, 4, 3, 4); layoutControl1.Name = "layoutControl1"; layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(1270, 302, 650, 400); layoutControl1.Root = Root; - layoutControl1.Size = new Size(1001, 536); + layoutControl1.Size = new Size(1144, 689); layoutControl1.TabIndex = 0; layoutControl1.Text = "layoutControl1"; + // + // packageProductListBox1 + // + packageProductListBox1.Location = new Point(13, 16); + packageProductListBox1.Margin = new Padding(3, 5, 3, 5); + packageProductListBox1.Name = "packageProductListBox1"; + packageProductListBox1.Size = new Size(187, 657); + packageProductListBox1.TabIndex = 11; // // BtnAddPackagePart // BtnAddPackagePart.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; BtnAddPackagePart.Appearance.Options.UseBackColor = true; - BtnAddPackagePart.Location = new Point(713, 502); + BtnAddPackagePart.Location = new Point(814, 646); + BtnAddPackagePart.Margin = new Padding(3, 4, 3, 4); BtnAddPackagePart.Name = "BtnAddPackagePart"; - BtnAddPackagePart.Size = new Size(85, 22); + BtnAddPackagePart.Size = new Size(98, 27); BtnAddPackagePart.StyleController = layoutControl1; BtnAddPackagePart.TabIndex = 8; BtnAddPackagePart.Text = "娣诲姞灞炴��"; @@ -134,9 +145,10 @@ // BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; BtnOk.Appearance.Options.UseBackColor = true; - BtnOk.Location = new Point(802, 502); + BtnOk.Location = new Point(916, 646); + BtnOk.Margin = new Padding(3, 4, 3, 4); BtnOk.Name = "BtnOk"; - BtnOk.Size = new Size(91, 22); + BtnOk.Size = new Size(105, 27); BtnOk.StyleController = layoutControl1; BtnOk.TabIndex = 9; BtnOk.Text = "纭缂栬緫"; @@ -147,9 +159,10 @@ simpleButton1.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; simpleButton1.Appearance.Options.UseBackColor = true; simpleButton1.DialogResult = DialogResult.Cancel; - simpleButton1.Location = new Point(897, 502); + simpleButton1.Location = new Point(1025, 646); + simpleButton1.Margin = new Padding(3, 4, 3, 4); simpleButton1.Name = "simpleButton1"; - simpleButton1.Size = new Size(92, 22); + simpleButton1.Size = new Size(106, 27); simpleButton1.StyleController = layoutControl1; simpleButton1.TabIndex = 10; simpleButton1.Text = "鍙栨秷"; @@ -157,10 +170,12 @@ // gridControl1 // gridControl1.DataSource = propGroupChoiceViewModelBindingSource; - gridControl1.Location = new Point(184, 137); + gridControl1.EmbeddedNavigator.Margin = new Padding(3, 5, 3, 5); + gridControl1.Location = new Point(209, 174); gridControl1.MainView = gridView1; + gridControl1.Margin = new Padding(3, 4, 3, 4); gridControl1.Name = "gridControl1"; - gridControl1.Size = new Size(800, 356); + gridControl1.Size = new Size(917, 459); gridControl1.TabIndex = 7; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // @@ -169,8 +184,10 @@ gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colPropGroupName, colPropName, colValue }); + gridView1.DetailHeight = 450; gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; + gridView1.OptionsEditForm.PopupEditFormWidth = 914; gridView1.OptionsView.AllowCellMerge = true; gridView1.OptionsView.ShowGroupPanel = false; // @@ -180,9 +197,11 @@ colPropGroupName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colPropGroupName.Caption = "灞炴�х粍"; colPropGroupName.FieldName = "PropGroupName"; + colPropGroupName.MinWidth = 23; colPropGroupName.Name = "colPropGroupName"; colPropGroupName.Visible = true; colPropGroupName.VisibleIndex = 0; + colPropGroupName.Width = 86; // // colPropName // @@ -190,10 +209,12 @@ colPropName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colPropName.Caption = "灞炴�у悕"; colPropName.FieldName = "PropName"; + colPropName.MinWidth = 23; colPropName.Name = "colPropName"; colPropName.OptionsColumn.AllowEdit = false; colPropName.Visible = true; colPropName.VisibleIndex = 1; + colPropName.Width = 86; // // colValue // @@ -201,32 +222,37 @@ colValue.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colValue.Caption = "鍊�"; colValue.FieldName = "Value"; + colValue.MinWidth = 23; colValue.Name = "colValue"; colValue.OptionsColumn.AllowMerge = DevExpress.Utils.DefaultBoolean.False; colValue.Visible = true; colValue.VisibleIndex = 2; + colValue.Width = 86; // // TextEditProductName // - TextEditProductName.Location = new Point(269, 41); + TextEditProductName.Location = new Point(313, 53); + TextEditProductName.Margin = new Padding(3, 4, 3, 4); TextEditProductName.Name = "TextEditProductName"; - TextEditProductName.Size = new Size(715, 20); + TextEditProductName.Size = new Size(813, 24); TextEditProductName.StyleController = layoutControl1; TextEditProductName.TabIndex = 3; // // TextEditProductCode // - TextEditProductCode.Location = new Point(269, 65); + TextEditProductCode.Location = new Point(313, 83); + TextEditProductCode.Margin = new Padding(3, 4, 3, 4); TextEditProductCode.Name = "TextEditProductCode"; - TextEditProductCode.Size = new Size(715, 20); + TextEditProductCode.Size = new Size(813, 24); TextEditProductCode.StyleController = layoutControl1; TextEditProductCode.TabIndex = 4; // // TextEditNo // - TextEditNo.Location = new Point(269, 89); + TextEditNo.Location = new Point(313, 113); + TextEditNo.Margin = new Padding(3, 4, 3, 4); TextEditNo.Name = "TextEditNo"; - TextEditNo.Size = new Size(715, 20); + TextEditNo.Size = new Size(813, 24); TextEditNo.StyleController = layoutControl1; TextEditNo.TabIndex = 5; // @@ -236,17 +262,17 @@ Root.GroupBordersVisible = false; Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem3, r, layoutControlItem2, layoutControAddPart, tabbedControlGroup1, layoutControlItem4 }); Root.Name = "Root"; - Root.Size = new Size(1001, 536); + Root.Size = new Size(1144, 689); Root.TextVisible = false; // // layoutControlItem3 // layoutControlItem3.Control = simpleButton1; - layoutControlItem3.Location = new Point(885, 490); - layoutControlItem3.MaxSize = new Size(96, 26); - layoutControlItem3.MinSize = new Size(96, 26); + layoutControlItem3.Location = new Point(1012, 630); + layoutControlItem3.MaxSize = new Size(110, 33); + layoutControlItem3.MinSize = new Size(110, 33); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(96, 26); + layoutControlItem3.Size = new Size(110, 33); layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem3.TextSize = new Size(0, 0); layoutControlItem3.TextVisible = false; @@ -254,19 +280,19 @@ // r // r.AllowHotTrack = false; - r.Location = new Point(167, 490); + r.Location = new Point(191, 630); r.Name = "r"; - r.Size = new Size(534, 26); + r.Size = new Size(610, 33); r.TextSize = new Size(0, 0); // // layoutControlItem2 // layoutControlItem2.Control = BtnOk; - layoutControlItem2.Location = new Point(790, 490); - layoutControlItem2.MaxSize = new Size(95, 26); - layoutControlItem2.MinSize = new Size(95, 26); + layoutControlItem2.Location = new Point(903, 630); + layoutControlItem2.MaxSize = new Size(109, 33); + layoutControlItem2.MinSize = new Size(109, 33); layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(95, 26); + layoutControlItem2.Size = new Size(109, 33); layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; @@ -274,23 +300,23 @@ // layoutControAddPart // layoutControAddPart.Control = BtnAddPackagePart; - layoutControAddPart.Location = new Point(701, 490); - layoutControAddPart.MaxSize = new Size(89, 26); - layoutControAddPart.MinSize = new Size(89, 26); + layoutControAddPart.Location = new Point(801, 630); + layoutControAddPart.MaxSize = new Size(102, 33); + layoutControAddPart.MinSize = new Size(102, 33); layoutControAddPart.Name = "layoutControAddPart"; - layoutControAddPart.Size = new Size(89, 26); + layoutControAddPart.Size = new Size(102, 33); layoutControAddPart.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControAddPart.TextSize = new Size(0, 0); layoutControAddPart.TextVisible = false; // // tabbedControlGroup1 // - tabbedControlGroup1.Location = new Point(167, 0); + tabbedControlGroup1.Location = new Point(191, 0); tabbedControlGroup1.Name = "tabbedControlGroup1"; - tabbedControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); + tabbedControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 3, 3); tabbedControlGroup1.SelectedTabPage = layoutControlGroup1; - tabbedControlGroup1.Size = new Size(814, 490); - tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1, layoutControlGroup2, layoutControlGroup3, layoutControlGroup4 }); + tabbedControlGroup1.Size = new Size(931, 630); + tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 }); tabbedControlGroup1.Text = "瀹夎鍥�"; // // layoutControlGroup1 @@ -298,7 +324,7 @@ layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem5, layoutControlItem6, layoutControlItem7, layoutControlItem1, simpleLabelItemAddProp, emptySpaceItem1 }); layoutControlGroup1.Location = new Point(0, 0); layoutControlGroup1.Name = "layoutControlGroup1"; - layoutControlGroup1.Size = new Size(804, 456); + layoutControlGroup1.Size = new Size(921, 586); layoutControlGroup1.Text = "浜у搧灞炴��"; // // layoutControlItem5 @@ -306,34 +332,34 @@ layoutControlItem5.Control = TextEditProductName; layoutControlItem5.Location = new Point(0, 0); layoutControlItem5.Name = "layoutControlItem5"; - layoutControlItem5.Size = new Size(804, 24); + layoutControlItem5.Size = new Size(921, 30); layoutControlItem5.Text = "浜у搧鍚嶇О:"; - layoutControlItem5.TextSize = new Size(73, 14); + layoutControlItem5.TextSize = new Size(90, 18); // // layoutControlItem6 // layoutControlItem6.Control = TextEditProductCode; - layoutControlItem6.Location = new Point(0, 24); + layoutControlItem6.Location = new Point(0, 30); layoutControlItem6.Name = "layoutControlItem6"; - layoutControlItem6.Size = new Size(804, 24); + layoutControlItem6.Size = new Size(921, 30); layoutControlItem6.Text = "浜у搧鍥惧彿:"; - layoutControlItem6.TextSize = new Size(73, 14); + layoutControlItem6.TextSize = new Size(90, 18); // // layoutControlItem7 // layoutControlItem7.Control = TextEditNo; - layoutControlItem7.Location = new Point(0, 48); + layoutControlItem7.Location = new Point(0, 60); layoutControlItem7.Name = "layoutControlItem7"; - layoutControlItem7.Size = new Size(804, 24); + layoutControlItem7.Size = new Size(921, 30); layoutControlItem7.Text = "浜у搧缂栧彿:"; - layoutControlItem7.TextSize = new Size(73, 14); + layoutControlItem7.TextSize = new Size(90, 18); // // layoutControlItem1 // layoutControlItem1.Control = gridControl1; - layoutControlItem1.Location = new Point(0, 96); + layoutControlItem1.Location = new Point(0, 121); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(804, 360); + layoutControlItem1.Size = new Size(921, 465); layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; // @@ -342,41 +368,50 @@ simpleLabelItemAddProp.AllowHotTrack = false; simpleLabelItemAddProp.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItemAddProp.ImageOptions.SvgImage"); simpleLabelItemAddProp.ImageOptions.SvgImageSize = new Size(20, 20); - simpleLabelItemAddProp.Location = new Point(0, 72); + simpleLabelItemAddProp.Location = new Point(0, 90); simpleLabelItemAddProp.Name = "simpleLabelItemAddProp"; - simpleLabelItemAddProp.Size = new Size(77, 24); + simpleLabelItemAddProp.Size = new Size(94, 31); simpleLabelItemAddProp.Text = "澧炲姞灞炴��"; - simpleLabelItemAddProp.TextSize = new Size(73, 20); + simpleLabelItemAddProp.TextSize = new Size(90, 25); simpleLabelItemAddProp.Click += simpleLabelItemAddProp_Click; // // emptySpaceItem1 // emptySpaceItem1.AllowHotTrack = false; - emptySpaceItem1.Location = new Point(77, 72); + emptySpaceItem1.Location = new Point(94, 90); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(727, 24); + emptySpaceItem1.Size = new Size(827, 31); emptySpaceItem1.TextSize = new Size(0, 0); // // layoutControlGroup2 // layoutControlGroup2.Location = new Point(0, 0); layoutControlGroup2.Name = "layoutControlGroup2"; - layoutControlGroup2.Size = new Size(804, 456); + layoutControlGroup2.Size = new Size(921, 586); layoutControlGroup2.Text = "瀹夎鍥�"; // // layoutControlGroup3 // layoutControlGroup3.Location = new Point(0, 0); layoutControlGroup3.Name = "layoutControlGroup3"; - layoutControlGroup3.Size = new Size(804, 456); + layoutControlGroup3.Size = new Size(921, 586); layoutControlGroup3.Text = "缁撴瀯鍥�"; // // layoutControlGroup4 // layoutControlGroup4.Location = new Point(0, 0); layoutControlGroup4.Name = "layoutControlGroup4"; - layoutControlGroup4.Size = new Size(804, 456); + layoutControlGroup4.Size = new Size(921, 586); layoutControlGroup4.Text = "灏哄鍥�"; + // + // layoutControlItem4 + // + layoutControlItem4.Control = packageProductListBox1; + layoutControlItem4.Location = new Point(0, 0); + layoutControlItem4.Name = "layoutControlItem4"; + layoutControlItem4.Size = new Size(191, 663); + layoutControlItem4.TextSize = new Size(0, 0); + layoutControlItem4.TextVisible = false; // // barManager1 // @@ -392,15 +427,17 @@ barDockControlTop.Dock = DockStyle.Top; barDockControlTop.Location = new Point(0, 0); barDockControlTop.Manager = barManager1; - barDockControlTop.Size = new Size(1001, 0); + barDockControlTop.Margin = new Padding(3, 4, 3, 4); + barDockControlTop.Size = new Size(1144, 0); // // barDockControlBottom // barDockControlBottom.CausesValidation = false; barDockControlBottom.Dock = DockStyle.Bottom; - barDockControlBottom.Location = new Point(0, 536); + barDockControlBottom.Location = new Point(0, 689); barDockControlBottom.Manager = barManager1; - barDockControlBottom.Size = new Size(1001, 0); + barDockControlBottom.Margin = new Padding(3, 4, 3, 4); + barDockControlBottom.Size = new Size(1144, 0); // // barDockControlLeft // @@ -408,15 +445,17 @@ barDockControlLeft.Dock = DockStyle.Left; barDockControlLeft.Location = new Point(0, 0); barDockControlLeft.Manager = barManager1; - barDockControlLeft.Size = new Size(0, 536); + barDockControlLeft.Margin = new Padding(3, 4, 3, 4); + barDockControlLeft.Size = new Size(0, 689); // // barDockControlRight // barDockControlRight.CausesValidation = false; barDockControlRight.Dock = DockStyle.Right; - barDockControlRight.Location = new Point(1001, 0); + barDockControlRight.Location = new Point(1144, 0); barDockControlRight.Manager = barManager1; - barDockControlRight.Size = new Size(0, 536); + barDockControlRight.Margin = new Padding(3, 4, 3, 4); + barDockControlRight.Size = new Size(0, 689); // // popupPackagePartMenu // @@ -427,63 +466,48 @@ // dxErrorProvider1.ContainerControl = this; // - // packageProductListBox1 - // - packageProductListBox1.Location = new Point(12, 12); - packageProductListBox1.Name = "packageProductListBox1"; - packageProductListBox1.Size = new Size(163, 512); - packageProductListBox1.TabIndex = 11; - // - // layoutControlItem4 - // - layoutControlItem4.Control = packageProductListBox1; - layoutControlItem4.Location = new Point(0, 0); - layoutControlItem4.Name = "layoutControlItem4"; - layoutControlItem4.Size = new Size(167, 516); - layoutControlItem4.TextSize = new Size(0, 0); - layoutControlItem4.TextVisible = false; - // // EditPackagePartPropDlg // - AutoScaleDimensions = new SizeF(7F, 14F); + AutoScaleDimensions = new SizeF(8F, 18F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(1001, 536); + ClientSize = new Size(1144, 689); Controls.Add(layoutControl1); Controls.Add(barDockControlLeft); Controls.Add(barDockControlRight); Controls.Add(barDockControlBottom); Controls.Add(barDockControlTop); + Margin = new Padding(3, 4, 3, 4); Name = "EditPackagePartPropDlg"; StartPosition = FormStartPosition.CenterScreen; Text = "缂栬緫灞炴��"; - ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); + ((ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); - ((System.ComponentModel.ISupportInitialize)propGroupChoiceViewModelBindingSource).EndInit(); - ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); - ((System.ComponentModel.ISupportInitialize)TextEditProductName.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)TextEditProductCode.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)TextEditNo.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)Root).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); - ((System.ComponentModel.ISupportInitialize)r).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControAddPart).EndInit(); - ((System.ComponentModel.ISupportInitialize)tabbedControlGroup1).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup1).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem5).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem6).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem7).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); - ((System.ComponentModel.ISupportInitialize)simpleLabelItemAddProp).EndInit(); - ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup2).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup3).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlGroup4).EndInit(); - ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); - ((System.ComponentModel.ISupportInitialize)popupPackagePartMenu).EndInit(); - ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); + ((ISupportInitialize)gridControl1).EndInit(); + ((ISupportInitialize)propGroupChoiceViewModelBindingSource).EndInit(); + ((ISupportInitialize)gridView1).EndInit(); + ((ISupportInitialize)TextEditProductName.Properties).EndInit(); + ((ISupportInitialize)TextEditProductCode.Properties).EndInit(); + ((ISupportInitialize)TextEditNo.Properties).EndInit(); + ((ISupportInitialize)Root).EndInit(); + ((ISupportInitialize)layoutControlItem3).EndInit(); + ((ISupportInitialize)r).EndInit(); + ((ISupportInitialize)layoutControlItem2).EndInit(); + ((ISupportInitialize)layoutControAddPart).EndInit(); + ((ISupportInitialize)tabbedControlGroup1).EndInit(); + ((ISupportInitialize)layoutControlGroup1).EndInit(); + ((ISupportInitialize)layoutControlItem5).EndInit(); + ((ISupportInitialize)layoutControlItem6).EndInit(); + ((ISupportInitialize)layoutControlItem7).EndInit(); + ((ISupportInitialize)layoutControlItem1).EndInit(); + ((ISupportInitialize)simpleLabelItemAddProp).EndInit(); + ((ISupportInitialize)emptySpaceItem1).EndInit(); + ((ISupportInitialize)layoutControlGroup2).EndInit(); + ((ISupportInitialize)layoutControlGroup3).EndInit(); + ((ISupportInitialize)layoutControlGroup4).EndInit(); + ((ISupportInitialize)layoutControlItem4).EndInit(); + ((ISupportInitialize)barManager1).EndInit(); + ((ISupportInitialize)popupPackagePartMenu).EndInit(); + ((ISupportInitialize)dxErrorProvider1).EndInit(); ResumeLayout(false); PerformLayout(); } -- Gitblit v1.9.3