From 25d1bf4c50f43cf6690c5ac92824959865c9d78f Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期四, 13 三月 2025 10:34:40 +0800 Subject: [PATCH] BoxViewModel --- WinFrmUI/Yw.WinFrmUI.Division.Core/01-division/AddDivisonDlg.designer.cs | 122 ++++++++++++++++++++++------------------ 1 files changed, 67 insertions(+), 55 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Division.Core/01-division/AddDivisonDlg.designer.cs b/WinFrmUI/Yw.WinFrmUI.Division.Core/01-division/AddDivisonDlg.designer.cs index b8dd1bb..85b14bf 100644 --- a/WinFrmUI/Yw.WinFrmUI.Division.Core/01-division/AddDivisonDlg.designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Division.Core/01-division/AddDivisonDlg.designer.cs @@ -39,7 +39,7 @@ ADCodeTextEdit = new DevExpress.XtraEditors.TextEdit(); textEditParents = new DevExpress.XtraEditors.TreeListLookUpEdit(); treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); - treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); + 鍚嶇О = new DevExpress.XtraTreeList.Columns.TreeListColumn(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); ItemForName = new DevExpress.XtraLayout.LayoutControlItem(); @@ -87,10 +87,11 @@ dataLayoutControl1.Controls.Add(textEditParents); dataLayoutControl1.Dock = DockStyle.Fill; dataLayoutControl1.Location = new Point(0, 0); + dataLayoutControl1.Margin = new Padding(3, 4, 3, 4); dataLayoutControl1.Name = "dataLayoutControl1"; dataLayoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(900, 230, 650, 400); dataLayoutControl1.Root = Root; - dataLayoutControl1.Size = new Size(542, 345); + dataLayoutControl1.Size = new Size(619, 444); dataLayoutControl1.TabIndex = 0; dataLayoutControl1.Text = "dataLayoutControl1"; // @@ -98,9 +99,10 @@ // btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; btnOk.Appearance.Options.UseBackColor = true; - btnOk.Location = new Point(309, 311); + btnOk.Location = new Point(353, 405); + btnOk.Margin = new Padding(3, 4, 3, 4); btnOk.Name = "btnOk"; - btnOk.Size = new Size(106, 22); + btnOk.Size = new Size(122, 27); btnOk.StyleController = dataLayoutControl1; btnOk.TabIndex = 6; btnOk.Text = "纭畾"; @@ -111,59 +113,64 @@ btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; btnCancel.Appearance.Options.UseBackColor = true; btnCancel.DialogResult = DialogResult.Cancel; - btnCancel.Location = new Point(419, 311); + btnCancel.Location = new Point(479, 405); + btnCancel.Margin = new Padding(3, 4, 3, 4); btnCancel.Name = "btnCancel"; - btnCancel.Size = new Size(111, 22); + btnCancel.Size = new Size(128, 27); btnCancel.StyleController = dataLayoutControl1; btnCancel.TabIndex = 7; btnCancel.Text = "鍙栨秷"; // // NameTextEdit // - NameTextEdit.Location = new Point(99, 12); + NameTextEdit.Location = new Point(117, 12); + NameTextEdit.Margin = new Padding(3, 4, 3, 4); NameTextEdit.Name = "NameTextEdit"; - NameTextEdit.Size = new Size(431, 20); + NameTextEdit.Size = new Size(490, 24); NameTextEdit.StyleController = dataLayoutControl1; NameTextEdit.TabIndex = 0; // // DescriptionTextEdit // - DescriptionTextEdit.Location = new Point(99, 132); + DescriptionTextEdit.Location = new Point(117, 152); + DescriptionTextEdit.Margin = new Padding(3, 4, 3, 4); DescriptionTextEdit.Name = "DescriptionTextEdit"; - DescriptionTextEdit.Size = new Size(431, 175); + DescriptionTextEdit.Size = new Size(490, 249); DescriptionTextEdit.StyleController = dataLayoutControl1; DescriptionTextEdit.TabIndex = 5; // // TagNameTextEdit // - TagNameTextEdit.Location = new Point(99, 84); + TagNameTextEdit.Location = new Point(117, 96); + TagNameTextEdit.Margin = new Padding(3, 4, 3, 4); TagNameTextEdit.Name = "TagNameTextEdit"; - TagNameTextEdit.Size = new Size(431, 20); + TagNameTextEdit.Size = new Size(490, 24); TagNameTextEdit.StyleController = dataLayoutControl1; TagNameTextEdit.TabIndex = 4; // // TypeImageComboBoxEdit // - TypeImageComboBoxEdit.Location = new Point(99, 36); - TypeImageComboBoxEdit.Margin = new Padding(2); + TypeImageComboBoxEdit.Location = new Point(117, 40); + TypeImageComboBoxEdit.Margin = new Padding(2, 3, 2, 3); TypeImageComboBoxEdit.Name = "TypeImageComboBoxEdit"; TypeImageComboBoxEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); - TypeImageComboBoxEdit.Size = new Size(431, 20); + TypeImageComboBoxEdit.Size = new Size(490, 24); TypeImageComboBoxEdit.StyleController = dataLayoutControl1; TypeImageComboBoxEdit.TabIndex = 2; // // ADCodeTextEdit // - ADCodeTextEdit.Location = new Point(99, 60); - ADCodeTextEdit.Margin = new Padding(2); + ADCodeTextEdit.Location = new Point(117, 68); + ADCodeTextEdit.Margin = new Padding(2, 3, 2, 3); ADCodeTextEdit.Name = "ADCodeTextEdit"; - ADCodeTextEdit.Size = new Size(431, 20); + ADCodeTextEdit.Size = new Size(490, 24); ADCodeTextEdit.StyleController = dataLayoutControl1; ADCodeTextEdit.TabIndex = 3; // // textEditParents // - textEditParents.Location = new Point(99, 108); + textEditParents.Location = new Point(117, 124); + textEditParents.Margin = new Padding(3, 4, 3, 4); textEditParents.Name = "textEditParents"; textEditParents.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); textEditParents.Properties.DisplayMember = "Name"; @@ -171,26 +178,30 @@ textEditParents.Properties.PopupSizeable = false; textEditParents.Properties.TreeList = treeListLookUpEdit1TreeList; textEditParents.Properties.ValueMember = "ID"; - textEditParents.Size = new Size(431, 20); + textEditParents.Size = new Size(490, 24); textEditParents.StyleController = dataLayoutControl1; textEditParents.TabIndex = 8; // // treeListLookUpEdit1TreeList // - treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { treeListColumn1 }); + treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { 鍚嶇О }); treeListLookUpEdit1TreeList.Location = new Point(0, 0); + treeListLookUpEdit1TreeList.MinWidth = 23; treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; treeListLookUpEdit1TreeList.OptionsView.ShowIndentAsRowStyle = true; treeListLookUpEdit1TreeList.Size = new Size(400, 200); treeListLookUpEdit1TreeList.TabIndex = 0; + treeListLookUpEdit1TreeList.TreeLevelWidth = 21; // - // treeListColumn1 + // 鍚嶇О // - treeListColumn1.Caption = "treeListColumn1"; - treeListColumn1.FieldName = "Name"; - treeListColumn1.Name = "treeListColumn1"; - treeListColumn1.Visible = true; - treeListColumn1.VisibleIndex = 0; + 鍚嶇О.Caption = "鍚嶇О"; + 鍚嶇О.FieldName = "Name"; + 鍚嶇О.MinWidth = 23; + 鍚嶇О.Name = "鍚嶇О"; + 鍚嶇О.Visible = true; + 鍚嶇О.VisibleIndex = 0; + 鍚嶇О.Width = 86; // // Root // @@ -200,7 +211,7 @@ Root.GroupBordersVisible = false; Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1 }); Root.Name = "Root"; - Root.Size = new Size(542, 345); + Root.Size = new Size(619, 444); Root.TextVisible = false; // // layoutControlGroup1 @@ -210,7 +221,7 @@ layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, layoutControlItem1, layoutControlItem2, emptySpaceItem1, ItemForTagName, layoutControlItem4, layoutControlItem5, layoutControlItem3 }); layoutControlGroup1.Location = new Point(0, 0); layoutControlGroup1.Name = "autoGeneratedGroup0"; - layoutControlGroup1.Size = new Size(522, 325); + layoutControlGroup1.Size = new Size(599, 424); // // ItemForName // @@ -218,43 +229,43 @@ ItemForName.Control = NameTextEdit; ItemForName.Location = new Point(0, 0); ItemForName.Name = "ItemForName"; - ItemForName.Size = new Size(522, 24); + ItemForName.Size = new Size(599, 28); ItemForName.Text = "<color=red>*</color>鍚嶇О:"; - ItemForName.TextSize = new Size(75, 14); + ItemForName.TextSize = new Size(93, 18); // // ItemForDescription // ItemForDescription.Control = DescriptionTextEdit; - ItemForDescription.Location = new Point(0, 120); + ItemForDescription.Location = new Point(0, 140); ItemForDescription.Name = "ItemForDescription"; - ItemForDescription.Size = new Size(522, 179); + ItemForDescription.Size = new Size(599, 253); ItemForDescription.Text = "璇存槑:"; - ItemForDescription.TextSize = new Size(75, 14); + ItemForDescription.TextSize = new Size(93, 18); // // layoutControlItem1 // layoutControlItem1.Control = btnCancel; - layoutControlItem1.Location = new Point(407, 299); + layoutControlItem1.Location = new Point(467, 393); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(115, 26); + layoutControlItem1.Size = new Size(132, 31); layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; // // layoutControlItem2 // layoutControlItem2.Control = btnOk; - layoutControlItem2.Location = new Point(297, 299); + layoutControlItem2.Location = new Point(341, 393); layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(110, 26); + layoutControlItem2.Size = new Size(126, 31); layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; // // emptySpaceItem1 // emptySpaceItem1.AllowHotTrack = false; - emptySpaceItem1.Location = new Point(0, 299); + emptySpaceItem1.Location = new Point(0, 393); emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(297, 26); + emptySpaceItem1.Size = new Size(341, 31); emptySpaceItem1.TextSize = new Size(0, 0); // // ItemForTagName @@ -262,38 +273,38 @@ ItemForTagName.AppearanceItemCaption.Options.UseTextOptions = true; ItemForTagName.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; ItemForTagName.Control = TagNameTextEdit; - ItemForTagName.Location = new Point(0, 72); + ItemForTagName.Location = new Point(0, 84); ItemForTagName.Name = "ItemForTagName"; - ItemForTagName.Size = new Size(522, 24); + ItemForTagName.Size = new Size(599, 28); ItemForTagName.Text = "鏍囩鍚嶇О:"; - ItemForTagName.TextSize = new Size(75, 14); + ItemForTagName.TextSize = new Size(93, 18); // // layoutControlItem4 // layoutControlItem4.Control = TypeImageComboBoxEdit; - layoutControlItem4.Location = new Point(0, 24); + layoutControlItem4.Location = new Point(0, 28); layoutControlItem4.Name = "layoutControlItem4"; - layoutControlItem4.Size = new Size(522, 24); + layoutControlItem4.Size = new Size(599, 28); layoutControlItem4.Text = "绫诲瀷:"; - layoutControlItem4.TextSize = new Size(75, 14); + layoutControlItem4.TextSize = new Size(93, 18); // // layoutControlItem5 // layoutControlItem5.Control = ADCodeTextEdit; - layoutControlItem5.Location = new Point(0, 48); + layoutControlItem5.Location = new Point(0, 56); layoutControlItem5.Name = "layoutControlItem5"; - layoutControlItem5.Size = new Size(522, 24); + layoutControlItem5.Size = new Size(599, 28); layoutControlItem5.Text = "鍩庡競缂栫爜(ad):"; - layoutControlItem5.TextSize = new Size(75, 14); + layoutControlItem5.TextSize = new Size(93, 18); // // layoutControlItem3 // layoutControlItem3.Control = textEditParents; - layoutControlItem3.Location = new Point(0, 96); + layoutControlItem3.Location = new Point(0, 112); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(522, 24); + layoutControlItem3.Size = new Size(599, 28); layoutControlItem3.Text = "鐖剁骇:"; - layoutControlItem3.TextSize = new Size(75, 14); + layoutControlItem3.TextSize = new Size(93, 18); // // dxErrorProvider1 // @@ -301,10 +312,11 @@ // // AddDivisonDlg // - AutoScaleDimensions = new SizeF(7F, 14F); + AutoScaleDimensions = new SizeF(8F, 18F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(542, 345); + ClientSize = new Size(619, 444); Controls.Add(dataLayoutControl1); + Margin = new Padding(3, 4, 3, 4); Name = "AddDivisonDlg"; StartPosition = FormStartPosition.CenterParent; Text = "娣诲姞"; @@ -356,6 +368,6 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraEditors.TreeListLookUpEdit textEditParents; private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; - private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; + private DevExpress.XtraTreeList.Columns.TreeListColumn 鍚嶇О; } } \ No newline at end of file -- Gitblit v1.9.3