From 44d2d7d6f3b3a4c1b5befe7ec33f3c4fc7ca5122 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期三, 14 八月 2024 11:09:35 +0800 Subject: [PATCH] 界面微调 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs | 178 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 89 insertions(+), 89 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs index fb0f953..e95ae98 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs @@ -37,9 +37,14 @@ gridControl1 = new DevExpress.XtraGrid.GridControl(); layoutView1 = new DevExpress.XtraGrid.Views.Layout.LayoutView(); colName = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); + layoutViewField_layoutViewColumn1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); colCount = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); + layoutViewField_layoutViewColumn1_1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); colPicture = new DevExpress.XtraGrid.Columns.LayoutViewColumn(); repPicEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); + layoutViewField_layoutViewColumn2 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); + layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard(); + Group1 = new DevExpress.XtraLayout.LayoutControlGroup(); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); sidePanelBottom = new DevExpress.XtraEditors.SidePanel(); dockPanelFill = new DevExpress.XtraBars.Docking.DockPanel(); @@ -49,16 +54,16 @@ dockPanelLeft = new DevExpress.XtraBars.Docking.DockPanel(); dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); - layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard(); - layoutViewField_layoutViewColumn2 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); - Group1 = new DevExpress.XtraLayout.LayoutControlGroup(); - layoutViewField_layoutViewColumn1_1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); - layoutViewField_layoutViewColumn1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); ((ISupportInitialize)svgImg32).BeginInit(); sidePanel1.SuspendLayout(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)layoutView1).BeginInit(); + ((ISupportInitialize)layoutViewField_layoutViewColumn1).BeginInit(); + ((ISupportInitialize)layoutViewField_layoutViewColumn1_1).BeginInit(); ((ISupportInitialize)repPicEdit).BeginInit(); + ((ISupportInitialize)layoutViewField_layoutViewColumn2).BeginInit(); + ((ISupportInitialize)layoutViewCard1).BeginInit(); + ((ISupportInitialize)Group1).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); sidePanelBottom.SuspendLayout(); dockPanelFill.SuspendLayout(); @@ -68,11 +73,6 @@ dockPanelLeft.SuspendLayout(); dockPanel1_Container.SuspendLayout(); ((ISupportInitialize)dockManager1).BeginInit(); - ((ISupportInitialize)layoutViewCard1).BeginInit(); - ((ISupportInitialize)layoutViewField_layoutViewColumn2).BeginInit(); - ((ISupportInitialize)Group1).BeginInit(); - ((ISupportInitialize)layoutViewField_layoutViewColumn1_1).BeginInit(); - ((ISupportInitialize)layoutViewField_layoutViewColumn1).BeginInit(); SuspendLayout(); // // mapViewProjectListContainer1 @@ -82,7 +82,7 @@ mapViewProjectListContainer1.Margin = new Padding(4, 3, 4, 3); mapViewProjectListContainer1.Name = "mapViewProjectListContainer1"; mapViewProjectListContainer1.Padding = new Padding(1, 2, 1, 2); - mapViewProjectListContainer1.Size = new Size(926, 912); + mapViewProjectListContainer1.Size = new Size(926, 882); mapViewProjectListContainer1.TabIndex = 5; // // homeXhsProjectPropertyCtrl1 @@ -92,7 +92,7 @@ homeXhsProjectPropertyCtrl1.Margin = new Padding(6, 8, 6, 8); homeXhsProjectPropertyCtrl1.Name = "homeXhsProjectPropertyCtrl1"; homeXhsProjectPropertyCtrl1.SelectedObject = null; - homeXhsProjectPropertyCtrl1.Size = new Size(298, 912); + homeXhsProjectPropertyCtrl1.Size = new Size(298, 882); homeXhsProjectPropertyCtrl1.TabIndex = 0; homeXhsProjectPropertyCtrl1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent; // @@ -102,7 +102,7 @@ homeXhsProjectTreeListCtrl1.Location = new Point(0, 0); homeXhsProjectTreeListCtrl1.Margin = new Padding(6, 8, 6, 8); homeXhsProjectTreeListCtrl1.Name = "homeXhsProjectTreeListCtrl1"; - homeXhsProjectTreeListCtrl1.Size = new Size(293, 912); + homeXhsProjectTreeListCtrl1.Size = new Size(293, 882); homeXhsProjectTreeListCtrl1.TabIndex = 0; homeXhsProjectTreeListCtrl1.SelectProjectEvent += homeXhsProjectTreeListCtrl1_SelectProjectEvent; homeXhsProjectTreeListCtrl1.RefreshDataEvent += homeXhsProjectTreeListCtrl1_RefreshDataEvent; @@ -120,7 +120,7 @@ sidePanel1.Location = new Point(0, 0); sidePanel1.Margin = new Padding(4, 5, 4, 5); sidePanel1.Name = "sidePanel1"; - sidePanel1.Size = new Size(1519, 118); + sidePanel1.Size = new Size(1519, 148); sidePanel1.TabIndex = 1; sidePanel1.Text = "sidePanel1"; // @@ -131,7 +131,7 @@ gridControl1.MainView = layoutView1; gridControl1.Name = "gridControl1"; gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicEdit }); - gridControl1.Size = new Size(1519, 117); + gridControl1.Size = new Size(1519, 147); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { layoutView1, gridView1 }); // @@ -139,7 +139,7 @@ // layoutView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; layoutView1.CardHorzInterval = 4; - layoutView1.CardMinSize = new Size(300, 94); + layoutView1.CardMinSize = new Size(356, 94); layoutView1.CardVertInterval = 0; layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colCount, colPicture }); layoutView1.GridControl = gridControl1; @@ -175,6 +175,18 @@ colName.Name = "colName"; colName.Width = 112; // + // layoutViewField_layoutViewColumn1 + // + layoutViewField_layoutViewColumn1.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; + layoutViewField_layoutViewColumn1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; + layoutViewField_layoutViewColumn1.EditorPreferredWidth = 173; + layoutViewField_layoutViewColumn1.Location = new Point(0, 0); + layoutViewField_layoutViewColumn1.Name = "layoutViewField_layoutViewColumn1"; + layoutViewField_layoutViewColumn1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewField_layoutViewColumn1.Size = new Size(181, 36); + layoutViewField_layoutViewColumn1.TextSize = new Size(0, 0); + layoutViewField_layoutViewColumn1.TextVisible = false; + // // colCount // colCount.AppearanceCell.Font = new Font("Tahoma", 16F, FontStyle.Bold, GraphicsUnit.Point); @@ -188,6 +200,18 @@ colCount.MinWidth = 30; colCount.Name = "colCount"; colCount.Width = 112; + // + // layoutViewField_layoutViewColumn1_1 + // + layoutViewField_layoutViewColumn1_1.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; + layoutViewField_layoutViewColumn1_1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; + layoutViewField_layoutViewColumn1_1.EditorPreferredWidth = 173; + layoutViewField_layoutViewColumn1_1.Location = new Point(0, 36); + layoutViewField_layoutViewColumn1_1.Name = "layoutViewField_layoutViewColumn1_1"; + layoutViewField_layoutViewColumn1_1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewField_layoutViewColumn1_1.Size = new Size(181, 36); + layoutViewField_layoutViewColumn1_1.TextSize = new Size(0, 0); + layoutViewField_layoutViewColumn1_1.TextVisible = false; // // colPicture // @@ -203,6 +227,42 @@ // repPicEdit.Name = "repPicEdit"; // + // layoutViewField_layoutViewColumn2 + // + layoutViewField_layoutViewColumn2.EditorPreferredWidth = 145; + layoutViewField_layoutViewColumn2.Location = new Point(0, 0); + layoutViewField_layoutViewColumn2.Name = "layoutViewField_layoutViewColumn2"; + layoutViewField_layoutViewColumn2.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewField_layoutViewColumn2.Size = new Size(153, 86); + layoutViewField_layoutViewColumn2.TextSize = new Size(0, 0); + layoutViewField_layoutViewColumn2.TextVisible = false; + // + // layoutViewCard1 + // + layoutViewCard1.CustomizationFormText = "TemplateCard"; + layoutViewCard1.GroupBordersVisible = false; + layoutViewCard1.GroupStyle = DevExpress.Utils.GroupStyle.Light; + layoutViewCard1.HeaderButtonsLocation = DevExpress.Utils.GroupElementLocation.AfterText; + layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutViewField_layoutViewColumn2, Group1 }); + layoutViewCard1.Name = "layoutViewCard1"; + layoutViewCard1.OptionsItemText.TextToControlDistance = 3; + layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewCard1.Text = "TemplateCard"; + // + // Group1 + // + Group1.CustomizationFormText = "Group1"; + Group1.GroupStyle = DevExpress.Utils.GroupStyle.Title; + Group1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutViewField_layoutViewColumn1_1, layoutViewField_layoutViewColumn1 }); + Group1.Location = new Point(153, 0); + Group1.Name = "Group1"; + Group1.OptionsItemText.TextToControlDistance = 3; + Group1.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); + Group1.Size = new Size(195, 86); + Group1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + Group1.TextLocation = DevExpress.Utils.Locations.Default; + Group1.TextVisible = false; + // // gridView1 // gridView1.GridControl = gridControl1; @@ -214,10 +274,10 @@ sidePanelBottom.Controls.Add(dockPanelRight); sidePanelBottom.Controls.Add(dockPanelLeft); sidePanelBottom.Dock = DockStyle.Fill; - sidePanelBottom.Location = new Point(0, 118); + sidePanelBottom.Location = new Point(0, 148); sidePanelBottom.Margin = new Padding(4, 5, 4, 5); sidePanelBottom.Name = "sidePanelBottom"; - sidePanelBottom.Size = new Size(1519, 946); + sidePanelBottom.Size = new Size(1519, 916); sidePanelBottom.TabIndex = 7; sidePanelBottom.Text = "sidePanel3"; // @@ -234,7 +294,7 @@ dockPanelFill.Name = "dockPanelFill"; dockPanelFill.Options.ShowCloseButton = false; dockPanelFill.OriginalSize = new Size(1525, 200); - dockPanelFill.Size = new Size(926, 946); + dockPanelFill.Size = new Size(926, 916); dockPanelFill.Text = "鍦板浘"; // // controlContainer2 @@ -242,7 +302,7 @@ controlContainer2.Controls.Add(mapViewProjectListContainer1); controlContainer2.Location = new Point(0, 34); controlContainer2.Name = "controlContainer2"; - controlContainer2.Size = new Size(926, 912); + controlContainer2.Size = new Size(926, 882); controlContainer2.TabIndex = 0; // // dockPanelRight @@ -254,7 +314,7 @@ dockPanelRight.Name = "dockPanelRight"; dockPanelRight.Options.ShowCloseButton = false; dockPanelRight.OriginalSize = new Size(299, 200); - dockPanelRight.Size = new Size(299, 946); + dockPanelRight.Size = new Size(299, 916); dockPanelRight.Text = "灞炴�ч潰鏉�"; // // controlContainer1 @@ -262,7 +322,7 @@ controlContainer1.Controls.Add(homeXhsProjectPropertyCtrl1); controlContainer1.Location = new Point(1, 34); controlContainer1.Name = "controlContainer1"; - controlContainer1.Size = new Size(298, 912); + controlContainer1.Size = new Size(298, 882); controlContainer1.TabIndex = 0; // // dockPanelLeft @@ -274,7 +334,7 @@ dockPanelLeft.Name = "dockPanelLeft"; dockPanelLeft.Options.ShowCloseButton = false; dockPanelLeft.OriginalSize = new Size(294, 200); - dockPanelLeft.Size = new Size(294, 946); + dockPanelLeft.Size = new Size(294, 916); dockPanelLeft.Text = "椤圭洰鍒楄〃"; // // dockPanel1_Container @@ -282,7 +342,7 @@ dockPanel1_Container.Controls.Add(homeXhsProjectTreeListCtrl1); dockPanel1_Container.Location = new Point(0, 34); dockPanel1_Container.Name = "dockPanel1_Container"; - dockPanel1_Container.Size = new Size(293, 912); + dockPanel1_Container.Size = new Size(293, 882); dockPanel1_Container.TabIndex = 0; // // dockManager1 @@ -291,66 +351,6 @@ dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanelLeft, dockPanelRight, dockPanelFill }); dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); - // - // layoutViewCard1 - // - layoutViewCard1.CustomizationFormText = "TemplateCard"; - layoutViewCard1.GroupBordersVisible = false; - layoutViewCard1.GroupStyle = DevExpress.Utils.GroupStyle.Light; - layoutViewCard1.HeaderButtonsLocation = DevExpress.Utils.GroupElementLocation.AfterText; - layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutViewField_layoutViewColumn2, Group1 }); - layoutViewCard1.Name = "layoutViewCard1"; - layoutViewCard1.OptionsItemText.TextToControlDistance = 3; - layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); - layoutViewCard1.Text = "TemplateCard"; - // - // layoutViewField_layoutViewColumn2 - // - layoutViewField_layoutViewColumn2.EditorPreferredWidth = 120; - layoutViewField_layoutViewColumn2.Location = new Point(0, 0); - layoutViewField_layoutViewColumn2.Name = "layoutViewField_layoutViewColumn2"; - layoutViewField_layoutViewColumn2.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); - layoutViewField_layoutViewColumn2.Size = new Size(128, 86); - layoutViewField_layoutViewColumn2.TextSize = new Size(0, 0); - layoutViewField_layoutViewColumn2.TextVisible = false; - // - // Group1 - // - Group1.CustomizationFormText = "Group1"; - Group1.GroupStyle = DevExpress.Utils.GroupStyle.Title; - Group1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutViewField_layoutViewColumn1_1, layoutViewField_layoutViewColumn1 }); - Group1.Location = new Point(128, 0); - Group1.Name = "Group1"; - Group1.OptionsItemText.TextToControlDistance = 3; - Group1.Padding = new DevExpress.XtraLayout.Utils.Padding(6, 6, 6, 6); - Group1.Size = new Size(164, 86); - Group1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - Group1.TextLocation = DevExpress.Utils.Locations.Default; - Group1.TextVisible = false; - // - // layoutViewField_layoutViewColumn1_1 - // - layoutViewField_layoutViewColumn1_1.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; - layoutViewField_layoutViewColumn1_1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; - layoutViewField_layoutViewColumn1_1.EditorPreferredWidth = 142; - layoutViewField_layoutViewColumn1_1.Location = new Point(0, 36); - layoutViewField_layoutViewColumn1_1.Name = "layoutViewField_layoutViewColumn1_1"; - layoutViewField_layoutViewColumn1_1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); - layoutViewField_layoutViewColumn1_1.Size = new Size(150, 36); - layoutViewField_layoutViewColumn1_1.TextSize = new Size(0, 0); - layoutViewField_layoutViewColumn1_1.TextVisible = false; - // - // layoutViewField_layoutViewColumn1 - // - layoutViewField_layoutViewColumn1.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; - layoutViewField_layoutViewColumn1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; - layoutViewField_layoutViewColumn1.EditorPreferredWidth = 142; - layoutViewField_layoutViewColumn1.Location = new Point(0, 0); - layoutViewField_layoutViewColumn1.Name = "layoutViewField_layoutViewColumn1"; - layoutViewField_layoutViewColumn1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); - layoutViewField_layoutViewColumn1.Size = new Size(150, 36); - layoutViewField_layoutViewColumn1.TextSize = new Size(0, 0); - layoutViewField_layoutViewColumn1.TextVisible = false; // // HomeXhsProjectPage // @@ -367,7 +367,12 @@ sidePanel1.ResumeLayout(false); ((ISupportInitialize)gridControl1).EndInit(); ((ISupportInitialize)layoutView1).EndInit(); + ((ISupportInitialize)layoutViewField_layoutViewColumn1).EndInit(); + ((ISupportInitialize)layoutViewField_layoutViewColumn1_1).EndInit(); ((ISupportInitialize)repPicEdit).EndInit(); + ((ISupportInitialize)layoutViewField_layoutViewColumn2).EndInit(); + ((ISupportInitialize)layoutViewCard1).EndInit(); + ((ISupportInitialize)Group1).EndInit(); ((ISupportInitialize)gridView1).EndInit(); sidePanelBottom.ResumeLayout(false); dockPanelFill.ResumeLayout(false); @@ -377,11 +382,6 @@ dockPanelLeft.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); ((ISupportInitialize)dockManager1).EndInit(); - ((ISupportInitialize)layoutViewCard1).EndInit(); - ((ISupportInitialize)layoutViewField_layoutViewColumn2).EndInit(); - ((ISupportInitialize)Group1).EndInit(); - ((ISupportInitialize)layoutViewField_layoutViewColumn1_1).EndInit(); - ((ISupportInitialize)layoutViewField_layoutViewColumn1).EndInit(); ResumeLayout(false); } -- Gitblit v1.9.3