From 2448599b4368a9bf648a5a393a97afd1f9d93ce4 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 14 八月 2024 17:11:47 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs | 155 ++++++++++++++++++++++++--------------------------- 1 files changed, 72 insertions(+), 83 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 e95ae98..0889d5b 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs @@ -37,14 +37,9 @@ 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(); @@ -54,16 +49,15 @@ 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_colCount = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); + layoutViewField_colPicture = new DevExpress.XtraGrid.Views.Layout.LayoutViewField(); + layoutViewField_colName = 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(); @@ -73,6 +67,10 @@ dockPanelLeft.SuspendLayout(); dockPanel1_Container.SuspendLayout(); ((ISupportInitialize)dockManager1).BeginInit(); + ((ISupportInitialize)layoutViewCard1).BeginInit(); + ((ISupportInitialize)layoutViewField_colCount).BeginInit(); + ((ISupportInitialize)layoutViewField_colPicture).BeginInit(); + ((ISupportInitialize)layoutViewField_colName).BeginInit(); SuspendLayout(); // // mapViewProjectListContainer1 @@ -137,9 +135,15 @@ // // layoutView1 // + layoutView1.Appearance.Card.BackColor = Color.Transparent; + layoutView1.Appearance.Card.Options.UseBackColor = true; + layoutView1.Appearance.FieldCaption.BackColor = Color.Transparent; + layoutView1.Appearance.FieldCaption.Options.UseBackColor = true; + layoutView1.Appearance.FieldValue.BackColor = Color.Transparent; + layoutView1.Appearance.FieldValue.Options.UseBackColor = true; layoutView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; layoutView1.CardHorzInterval = 4; - layoutView1.CardMinSize = new Size(356, 94); + layoutView1.CardMinSize = new Size(300, 109); layoutView1.CardVertInterval = 0; layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colCount, colPicture }); layoutView1.GridControl = gridControl1; @@ -170,22 +174,10 @@ colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colName.Caption = "鍚嶇О"; colName.FieldName = "Name"; - colName.LayoutViewField = layoutViewField_layoutViewColumn1; + colName.LayoutViewField = layoutViewField_colName; colName.MinWidth = 30; 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 // @@ -196,29 +188,17 @@ colCount.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; colCount.Caption = "鏁伴噺"; colCount.FieldName = "Count"; - colCount.LayoutViewField = layoutViewField_layoutViewColumn1_1; + colCount.LayoutViewField = layoutViewField_colCount; 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 // colPicture.Caption = "鍥剧墖"; colPicture.ColumnEdit = repPicEdit; colPicture.FieldName = "Image"; - colPicture.LayoutViewField = layoutViewField_layoutViewColumn2; + colPicture.LayoutViewField = layoutViewField_colPicture; colPicture.MinWidth = 30; colPicture.Name = "colPicture"; colPicture.Width = 112; @@ -226,42 +206,6 @@ // repPicEdit // 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 // @@ -352,6 +296,53 @@ 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_colCount, layoutViewField_colPicture, layoutViewField_colName }); + layoutViewCard1.Name = "layoutViewCard1"; + layoutViewCard1.OptionsItemText.TextToControlDistance = 3; + layoutViewCard1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewCard1.Text = "TemplateCard"; + // + // layoutViewField_colCount + // + layoutViewField_colCount.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; + layoutViewField_colCount.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; + layoutViewField_colCount.EditorPreferredWidth = 151; + layoutViewField_colCount.Location = new Point(133, 36); + layoutViewField_colCount.Name = "layoutViewField_colCount"; + layoutViewField_colCount.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewField_colCount.Size = new Size(159, 65); + layoutViewField_colCount.TextSize = new Size(0, 0); + layoutViewField_colCount.TextVisible = false; + // + // layoutViewField_colPicture + // + layoutViewField_colPicture.EditorPreferredWidth = 125; + layoutViewField_colPicture.Location = new Point(0, 0); + layoutViewField_colPicture.Name = "layoutViewField_colPicture"; + layoutViewField_colPicture.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewField_colPicture.Size = new Size(133, 101); + layoutViewField_colPicture.StartNewLine = true; + layoutViewField_colPicture.TextSize = new Size(0, 0); + layoutViewField_colPicture.TextVisible = false; + // + // layoutViewField_colName + // + layoutViewField_colName.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; + layoutViewField_colName.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; + layoutViewField_colName.EditorPreferredWidth = 151; + layoutViewField_colName.Location = new Point(133, 0); + layoutViewField_colName.Name = "layoutViewField_colName"; + layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4); + layoutViewField_colName.Size = new Size(159, 36); + layoutViewField_colName.TextSize = new Size(0, 0); + layoutViewField_colName.TextVisible = false; + // // HomeXhsProjectPage // Appearance.BackColor = SystemColors.Control; @@ -367,12 +358,7 @@ 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); @@ -382,6 +368,10 @@ dockPanelLeft.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); ((ISupportInitialize)dockManager1).EndInit(); + ((ISupportInitialize)layoutViewCard1).EndInit(); + ((ISupportInitialize)layoutViewField_colCount).EndInit(); + ((ISupportInitialize)layoutViewField_colPicture).EndInit(); + ((ISupportInitialize)layoutViewField_colName).EndInit(); ResumeLayout(false); } @@ -406,10 +396,9 @@ private DevExpress.XtraBars.Docking.ControlContainer controlContainer1; private DevExpress.XtraBars.Docking.DockPanel dockPanelFill; private DevExpress.XtraBars.Docking.ControlContainer controlContainer2; - private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_layoutViewColumn1; - private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_layoutViewColumn1_1; - private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_layoutViewColumn2; + private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colName; + private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colCount; + private DevExpress.XtraGrid.Views.Layout.LayoutViewField layoutViewField_colPicture; private DevExpress.XtraGrid.Views.Layout.LayoutViewCard layoutViewCard1; - private DevExpress.XtraLayout.LayoutControlGroup Group1; } } -- Gitblit v1.9.3