From cc6751e088b8b97d792d9eae13ed3cbd33dbb1c5 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 14 八月 2024 17:11:38 +0800 Subject: [PATCH] 方案,基础信息 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs | 514 +++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 319 insertions(+), 195 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 c402f52..e95ae98 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/HomeXhsProjectPage.Designer.cs @@ -29,263 +29,387 @@ private void InitializeComponent() { components = new Container(); - DevExpress.XtraEditors.TileItemElement tileItemElement1 = new DevExpress.XtraEditors.TileItemElement(); - DevExpress.XtraEditors.TileItemElement tileItemElement2 = new DevExpress.XtraEditors.TileItemElement(); - ComponentResourceManager resources = new ComponentResourceManager(typeof(HomeXhsProjectPage)); - DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); - layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); mapViewProjectListContainer1 = new MapViewProjectListContainer(); - docPnlProperty = new DevExpress.XtraBars.Docking.DockPanel(); - dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer(); homeXhsProjectPropertyCtrl1 = new HomeXhsProjectPropertyCtrl(); - docPnlProject = new DevExpress.XtraBars.Docking.DockPanel(); - dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); homeXhsProjectTreeListCtrl1 = new HomeXhsProjectTreeListCtrl(); - tileControl1 = new DevExpress.XtraEditors.TileControl(); - tileGroup2 = new DevExpress.XtraEditors.TileGroup(); - tileItemForProject = new DevExpress.XtraEditors.TileItem(); - Root = new DevExpress.XtraLayout.LayoutControlGroup(); - layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); - layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + svgImg32 = new DevExpress.Utils.SvgImageCollection(components); + sidePanel1 = new DevExpress.XtraEditors.SidePanel(); + 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(); + controlContainer2 = new DevExpress.XtraBars.Docking.ControlContainer(); + dockPanelRight = new DevExpress.XtraBars.Docking.DockPanel(); + controlContainer1 = new DevExpress.XtraBars.Docking.ControlContainer(); + dockPanelLeft = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); - ((ISupportInitialize)layoutControl1).BeginInit(); - layoutControl1.SuspendLayout(); - mapViewProjectListContainer1.SuspendLayout(); - docPnlProperty.SuspendLayout(); - dockPanel2_Container.SuspendLayout(); - docPnlProject.SuspendLayout(); + ((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(); + controlContainer2.SuspendLayout(); + dockPanelRight.SuspendLayout(); + controlContainer1.SuspendLayout(); + dockPanelLeft.SuspendLayout(); dockPanel1_Container.SuspendLayout(); - ((ISupportInitialize)Root).BeginInit(); - ((ISupportInitialize)layoutControlItem1).BeginInit(); - ((ISupportInitialize)layoutControlItem2).BeginInit(); ((ISupportInitialize)dockManager1).BeginInit(); SuspendLayout(); // - // layoutControl1 - // - layoutControl1.Controls.Add(mapViewProjectListContainer1); - layoutControl1.Controls.Add(tileControl1); - layoutControl1.Dock = DockStyle.Fill; - layoutControl1.Location = new Point(0, 0); - layoutControl1.Name = "layoutControl1"; - layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(825, 316, 650, 400); - layoutControl1.Root = Root; - layoutControl1.Size = new Size(1063, 677); - layoutControl1.TabIndex = 0; - layoutControl1.Text = "layoutControl1"; - // // mapViewProjectListContainer1 // - mapViewProjectListContainer1.Controls.Add(docPnlProperty); - mapViewProjectListContainer1.Controls.Add(docPnlProject); - mapViewProjectListContainer1.Location = new Point(2, 152); - mapViewProjectListContainer1.Margin = new Padding(3, 2, 3, 2); + mapViewProjectListContainer1.Dock = DockStyle.Fill; + mapViewProjectListContainer1.Location = new Point(0, 0); + mapViewProjectListContainer1.Margin = new Padding(4, 3, 4, 3); mapViewProjectListContainer1.Name = "mapViewProjectListContainer1"; - mapViewProjectListContainer1.Padding = new Padding(1); - mapViewProjectListContainer1.Size = new Size(1059, 523); + mapViewProjectListContainer1.Padding = new Padding(1, 2, 1, 2); + mapViewProjectListContainer1.Size = new Size(926, 882); mapViewProjectListContainer1.TabIndex = 5; - // - // docPnlProperty - // - docPnlProperty.Controls.Add(dockPanel2_Container); - docPnlProperty.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; - docPnlProperty.ID = new Guid("0d30d696-5f24-4dbd-8e4c-6fb7a9881d07"); - docPnlProperty.Location = new Point(858, 1); - docPnlProperty.Margin = new Padding(3, 2, 3, 2); - docPnlProperty.Name = "docPnlProperty"; - docPnlProperty.Options.AllowDockBottom = false; - docPnlProperty.Options.AllowDockFill = false; - docPnlProperty.Options.AllowDockLeft = false; - docPnlProperty.Options.AllowDockTop = false; - docPnlProperty.Options.AllowFloating = false; - docPnlProperty.Options.FloatOnDblClick = false; - docPnlProperty.Options.ShowCloseButton = false; - docPnlProperty.OriginalSize = new Size(200, 200); - docPnlProperty.Size = new Size(200, 521); - docPnlProperty.Text = "灞炴�у垪琛�"; - // - // dockPanel2_Container - // - dockPanel2_Container.Controls.Add(homeXhsProjectPropertyCtrl1); - dockPanel2_Container.Location = new Point(4, 26); - dockPanel2_Container.Margin = new Padding(3, 2, 3, 2); - dockPanel2_Container.Name = "dockPanel2_Container"; - dockPanel2_Container.Size = new Size(193, 492); - dockPanel2_Container.TabIndex = 0; // // homeXhsProjectPropertyCtrl1 // homeXhsProjectPropertyCtrl1.Dock = DockStyle.Fill; homeXhsProjectPropertyCtrl1.Location = new Point(0, 0); + homeXhsProjectPropertyCtrl1.Margin = new Padding(6, 8, 6, 8); homeXhsProjectPropertyCtrl1.Name = "homeXhsProjectPropertyCtrl1"; homeXhsProjectPropertyCtrl1.SelectedObject = null; - homeXhsProjectPropertyCtrl1.Size = new Size(193, 492); + homeXhsProjectPropertyCtrl1.Size = new Size(298, 882); homeXhsProjectPropertyCtrl1.TabIndex = 0; homeXhsProjectPropertyCtrl1.JumpDirectEvent += homeXhsProjectPropertyCtrl1_JumpDirectEvent; - // - // docPnlProject - // - docPnlProject.Controls.Add(dockPanel1_Container); - docPnlProject.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; - docPnlProject.ID = new Guid("43abbf3a-fbf6-435d-bed9-7131b4a87877"); - docPnlProject.Location = new Point(1, 1); - docPnlProject.Margin = new Padding(3, 2, 3, 2); - docPnlProject.Name = "docPnlProject"; - docPnlProject.Options.AllowDockBottom = false; - docPnlProject.Options.AllowDockFill = false; - docPnlProject.Options.AllowDockRight = false; - docPnlProject.Options.AllowDockTop = false; - docPnlProject.Options.AllowFloating = false; - docPnlProject.Options.FloatOnDblClick = false; - docPnlProject.Options.ShowCloseButton = false; - docPnlProject.OriginalSize = new Size(200, 200); - docPnlProject.Size = new Size(200, 521); - docPnlProject.Text = "椤圭洰鍒楄〃"; - // - // dockPanel1_Container - // - dockPanel1_Container.Controls.Add(homeXhsProjectTreeListCtrl1); - dockPanel1_Container.Location = new Point(3, 26); - dockPanel1_Container.Margin = new Padding(3, 2, 3, 2); - dockPanel1_Container.Name = "dockPanel1_Container"; - dockPanel1_Container.Size = new Size(193, 492); - dockPanel1_Container.TabIndex = 0; // // homeXhsProjectTreeListCtrl1 // homeXhsProjectTreeListCtrl1.Dock = DockStyle.Fill; homeXhsProjectTreeListCtrl1.Location = new Point(0, 0); + homeXhsProjectTreeListCtrl1.Margin = new Padding(6, 8, 6, 8); homeXhsProjectTreeListCtrl1.Name = "homeXhsProjectTreeListCtrl1"; - homeXhsProjectTreeListCtrl1.Size = new Size(193, 492); + homeXhsProjectTreeListCtrl1.Size = new Size(293, 882); homeXhsProjectTreeListCtrl1.TabIndex = 0; homeXhsProjectTreeListCtrl1.SelectProjectEvent += homeXhsProjectTreeListCtrl1_SelectProjectEvent; homeXhsProjectTreeListCtrl1.RefreshDataEvent += homeXhsProjectTreeListCtrl1_RefreshDataEvent; homeXhsProjectTreeListCtrl1.ImportProjectCompletedEvent += homeXhsProjectTreeListCtrl1_ImportProjectCompletedEvent; // - // tileControl1 + // svgImg32 // - tileControl1.Groups.Add(tileGroup2); - tileControl1.HorizontalContentAlignment = DevExpress.Utils.HorzAlignment.Near; - tileControl1.Location = new Point(2, 2); - tileControl1.MaxId = 1; - tileControl1.Name = "tileControl1"; - tileControl1.Size = new Size(1059, 146); - tileControl1.TabIndex = 4; - tileControl1.Text = "tileControl1"; + svgImg32.ImageSize = new Size(32, 32); + svgImg32.Add("bo_address", "image://svgimages/business objects/bo_address.svg"); // - // tileGroup2 + // sidePanel1 // - tileGroup2.Items.Add(tileItemForProject); - tileGroup2.Name = "tileGroup2"; + sidePanel1.Controls.Add(gridControl1); + sidePanel1.Dock = DockStyle.Top; + sidePanel1.Location = new Point(0, 0); + sidePanel1.Margin = new Padding(4, 5, 4, 5); + sidePanel1.Name = "sidePanel1"; + sidePanel1.Size = new Size(1519, 148); + sidePanel1.TabIndex = 1; + sidePanel1.Text = "sidePanel1"; // - // tileItemForProject + // gridControl1 // - tileItemForProject.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True; - tileItemForProject.AppearanceItem.Normal.BackColor = Color.FromArgb(185, 180, 234); - tileItemForProject.AppearanceItem.Normal.FontSizeDelta = 6; - tileItemForProject.AppearanceItem.Normal.Options.UseBackColor = true; - tileItemForProject.AppearanceItem.Normal.Options.UseFont = true; - tileItemForProject.BorderVisibility = DevExpress.XtraEditors.TileItemBorderVisibility.Never; - tileItemElement1.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft; - tileItemElement1.ImageOptions.SvgImageSize = new Size(64, 64); - tileItemElement1.Text = "10"; - tileItemElement1.TextLocation = new Point(70, 20); - tileItemElement2.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft; - tileItemElement2.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("resource.SvgImage"); - tileItemElement2.ImageOptions.SvgImageSize = new Size(64, 64); - tileItemElement2.Text = "椤圭洰鎬绘暟閲�"; - tileItemElement2.TextLocation = new Point(-50, 45); - tileItemForProject.Elements.Add(tileItemElement1); - tileItemForProject.Elements.Add(tileItemElement2); - tileItemForProject.Id = 0; - tileItemForProject.ItemSize = DevExpress.XtraEditors.TileItemSize.Wide; - tileItemForProject.Name = "tileItemForProject"; + gridControl1.Dock = DockStyle.Fill; + gridControl1.Location = new Point(0, 0); + gridControl1.MainView = layoutView1; + gridControl1.Name = "gridControl1"; + gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicEdit }); + gridControl1.Size = new Size(1519, 147); + gridControl1.TabIndex = 0; + gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { layoutView1, gridView1 }); // - // Root + // layoutView1 // - Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2 }); - Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; - Root.Name = "Root"; - columnDefinition1.SizeType = SizeType.Percent; - columnDefinition1.Width = 100D; - Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition1 }); - rowDefinition1.Height = 150D; - rowDefinition1.SizeType = SizeType.Absolute; - rowDefinition2.Height = 100D; - rowDefinition2.SizeType = SizeType.Percent; - Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2 }); - Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - Root.Size = new Size(1063, 677); - Root.TextVisible = false; + layoutView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; + layoutView1.CardHorzInterval = 4; + layoutView1.CardMinSize = new Size(356, 94); + layoutView1.CardVertInterval = 0; + layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colCount, colPicture }); + layoutView1.GridControl = gridControl1; + layoutView1.Name = "layoutView1"; + layoutView1.OptionsBehavior.Editable = false; + layoutView1.OptionsBehavior.ScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto; + layoutView1.OptionsCustomization.AllowFilter = false; + layoutView1.OptionsCustomization.AllowSort = false; + layoutView1.OptionsItemText.TextToControlDistance = 3; + layoutView1.OptionsView.AllowHotTrackFields = false; + layoutView1.OptionsView.CardArrangeRule = DevExpress.XtraGrid.Views.Layout.LayoutCardArrangeRule.AllowPartialCards; + layoutView1.OptionsView.FocusRectStyle = DevExpress.XtraGrid.Views.Layout.FocusRectStyle.None; + layoutView1.OptionsView.ShowCardCaption = false; + layoutView1.OptionsView.ShowCardExpandButton = false; + layoutView1.OptionsView.ShowCardLines = false; + layoutView1.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never; + layoutView1.OptionsView.ShowHeaderPanel = false; + layoutView1.OptionsView.ViewMode = DevExpress.XtraGrid.Views.Layout.LayoutViewMode.Row; + layoutView1.TemplateCard = layoutViewCard1; // - // layoutControlItem1 + // colName // - layoutControlItem1.Control = tileControl1; - layoutControlItem1.Location = new Point(0, 0); - layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(1063, 150); - layoutControlItem1.TextSize = new Size(0, 0); - layoutControlItem1.TextVisible = false; + colName.AppearanceCell.Font = new Font("Tahoma", 13F, FontStyle.Regular, GraphicsUnit.Point); + colName.AppearanceCell.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; + colName.AppearanceCell.Options.UseFont = true; + colName.AppearanceCell.Options.UseForeColor = true; + colName.AppearanceCell.Options.UseTextOptions = true; + colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + colName.Caption = "鍚嶇О"; + colName.FieldName = "Name"; + colName.LayoutViewField = layoutViewField_layoutViewColumn1; + colName.MinWidth = 30; + colName.Name = "colName"; + colName.Width = 112; // - // layoutControlItem2 + // layoutViewField_layoutViewColumn1 // - layoutControlItem2.Control = mapViewProjectListContainer1; - layoutControlItem2.Location = new Point(0, 150); - layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.OptionsTableLayoutItem.RowIndex = 1; - layoutControlItem2.Size = new Size(1063, 527); - layoutControlItem2.TextSize = new Size(0, 0); - layoutControlItem2.TextVisible = false; + 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); + colCount.AppearanceCell.FontStyleDelta = FontStyle.Bold; + colCount.AppearanceCell.Options.UseFont = true; + colCount.AppearanceCell.Options.UseTextOptions = true; + colCount.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + colCount.Caption = "鏁伴噺"; + colCount.FieldName = "Count"; + colCount.LayoutViewField = layoutViewField_layoutViewColumn1_1; + 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.MinWidth = 30; + colPicture.Name = "colPicture"; + colPicture.Width = 112; + // + // 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 + // + gridView1.GridControl = gridControl1; + gridView1.Name = "gridView1"; + // + // sidePanelBottom + // + sidePanelBottom.Controls.Add(dockPanelFill); + sidePanelBottom.Controls.Add(dockPanelRight); + sidePanelBottom.Controls.Add(dockPanelLeft); + sidePanelBottom.Dock = DockStyle.Fill; + sidePanelBottom.Location = new Point(0, 148); + sidePanelBottom.Margin = new Padding(4, 5, 4, 5); + sidePanelBottom.Name = "sidePanelBottom"; + sidePanelBottom.Size = new Size(1519, 916); + sidePanelBottom.TabIndex = 7; + sidePanelBottom.Text = "sidePanel3"; + // + // dockPanelFill + // + dockPanelFill.Appearance.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question; + dockPanelFill.Appearance.Options.UseForeColor = true; + dockPanelFill.Appearance.Options.UseTextOptions = true; + dockPanelFill.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + dockPanelFill.Controls.Add(controlContainer2); + dockPanelFill.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; + dockPanelFill.ID = new Guid("136389ea-6552-4166-8c2a-b2ffe8b01953"); + dockPanelFill.Location = new Point(294, 0); + dockPanelFill.Name = "dockPanelFill"; + dockPanelFill.Options.ShowCloseButton = false; + dockPanelFill.OriginalSize = new Size(1525, 200); + dockPanelFill.Size = new Size(926, 916); + dockPanelFill.Text = "鍦板浘"; + // + // controlContainer2 + // + controlContainer2.Controls.Add(mapViewProjectListContainer1); + controlContainer2.Location = new Point(0, 34); + controlContainer2.Name = "controlContainer2"; + controlContainer2.Size = new Size(926, 882); + controlContainer2.TabIndex = 0; + // + // dockPanelRight + // + dockPanelRight.Controls.Add(controlContainer1); + dockPanelRight.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; + dockPanelRight.ID = new Guid("18c9fca9-8ae9-473c-9cd2-0467d818af3f"); + dockPanelRight.Location = new Point(1220, 0); + dockPanelRight.Name = "dockPanelRight"; + dockPanelRight.Options.ShowCloseButton = false; + dockPanelRight.OriginalSize = new Size(299, 200); + dockPanelRight.Size = new Size(299, 916); + dockPanelRight.Text = "灞炴�ч潰鏉�"; + // + // controlContainer1 + // + controlContainer1.Controls.Add(homeXhsProjectPropertyCtrl1); + controlContainer1.Location = new Point(1, 34); + controlContainer1.Name = "controlContainer1"; + controlContainer1.Size = new Size(298, 882); + controlContainer1.TabIndex = 0; + // + // dockPanelLeft + // + dockPanelLeft.Controls.Add(dockPanel1_Container); + dockPanelLeft.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; + dockPanelLeft.ID = new Guid("fba93cbc-dfe6-4982-8aee-be8baff1ea68"); + dockPanelLeft.Location = new Point(0, 0); + dockPanelLeft.Name = "dockPanelLeft"; + dockPanelLeft.Options.ShowCloseButton = false; + dockPanelLeft.OriginalSize = new Size(294, 200); + dockPanelLeft.Size = new Size(294, 916); + dockPanelLeft.Text = "椤圭洰鍒楄〃"; + // + // dockPanel1_Container + // + dockPanel1_Container.Controls.Add(homeXhsProjectTreeListCtrl1); + dockPanel1_Container.Location = new Point(0, 34); + dockPanel1_Container.Name = "dockPanel1_Container"; + dockPanel1_Container.Size = new Size(293, 882); + dockPanel1_Container.TabIndex = 0; // // dockManager1 // - dockManager1.Form = mapViewProjectListContainer1; - dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { docPnlProject, docPnlProperty }); + dockManager1.Form = sidePanelBottom; + 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" }); // // HomeXhsProjectPage // Appearance.BackColor = SystemColors.Control; Appearance.Options.UseBackColor = true; - AutoScaleDimensions = new SizeF(7F, 14F); + AutoScaleDimensions = new SizeF(10F, 22F); AutoScaleMode = AutoScaleMode.Font; - Controls.Add(layoutControl1); + Controls.Add(sidePanelBottom); + Controls.Add(sidePanel1); + Margin = new Padding(6, 8, 6, 8); Name = "HomeXhsProjectPage"; - Size = new Size(1063, 677); - ((ISupportInitialize)layoutControl1).EndInit(); - layoutControl1.ResumeLayout(false); - mapViewProjectListContainer1.ResumeLayout(false); - docPnlProperty.ResumeLayout(false); - dockPanel2_Container.ResumeLayout(false); - docPnlProject.ResumeLayout(false); + Size = new Size(1519, 1064); + ((ISupportInitialize)svgImg32).EndInit(); + 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); + controlContainer2.ResumeLayout(false); + dockPanelRight.ResumeLayout(false); + controlContainer1.ResumeLayout(false); + dockPanelLeft.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); - ((ISupportInitialize)Root).EndInit(); - ((ISupportInitialize)layoutControlItem1).EndInit(); - ((ISupportInitialize)layoutControlItem2).EndInit(); ((ISupportInitialize)dockManager1).EndInit(); ResumeLayout(false); } #endregion - - private DevExpress.XtraLayout.LayoutControl layoutControl1; - private DevExpress.XtraLayout.LayoutControlGroup Root; - private DevExpress.XtraEditors.TileControl tileControl1; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private MapViewProjectListContainer mapViewProjectListContainer1; - private DevExpress.XtraEditors.TileGroup tileGroup2; - private DevExpress.XtraEditors.TileItem tileItemForProject; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; - private DevExpress.XtraBars.Docking.DockPanel docPnlProperty; - private DevExpress.XtraBars.Docking.ControlContainer dockPanel2_Container; - private DevExpress.XtraBars.Docking.DockPanel docPnlProject; - private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; private HomeXhsProjectTreeListCtrl homeXhsProjectTreeListCtrl1; - private DevExpress.XtraBars.Docking.DockManager dockManager1; private HomeXhsProjectPropertyCtrl homeXhsProjectPropertyCtrl1; + private DevExpress.Utils.SvgImageCollection svgImg32; + private DevExpress.XtraEditors.SidePanel sidePanel1; + private DevExpress.XtraEditors.SidePanel sidePanelBottom; + private DevExpress.XtraGrid.GridControl gridControl1; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraGrid.Views.Layout.LayoutView layoutView1; + private DevExpress.XtraGrid.Columns.LayoutViewColumn colName; + private DevExpress.XtraGrid.Columns.LayoutViewColumn colCount; + private DevExpress.XtraGrid.Columns.LayoutViewColumn colPicture; + private DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit repPicEdit; + private DevExpress.XtraBars.Docking.DockPanel dockPanelLeft; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; + private DevExpress.XtraBars.Docking.DockManager dockManager1; + private DevExpress.XtraBars.Docking.DockPanel dockPanelRight; + 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.LayoutViewCard layoutViewCard1; + private DevExpress.XtraLayout.LayoutControlGroup Group1; } } -- Gitblit v1.9.3