From 98e49c0dd42840a094837f7acae532bc237a719a Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期二, 20 八月 2024 15:42:37 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/XhsSchemeMultiMgrPage.Designer.cs | 323 +++++++++++++++++++++++++++++++---------------------- 1 files changed, 187 insertions(+), 136 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/XhsSchemeMultiMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/XhsSchemeMultiMgrPage.Designer.cs index 33c1a01..78d2b93 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/XhsSchemeMultiMgrPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-scheme/XhsSchemeMultiMgrPage.Designer.cs @@ -30,182 +30,233 @@ { components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(XhsSchemeMultiMgrPage)); - ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); - barBtnCalcu = new DevExpress.XtraBars.BarButtonItem(); - ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); - ribPageGroupForBasic = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); - xhsProjectMgrViewModelBindingSource = new BindingSource(components); svgImg32 = new DevExpress.Utils.SvgImageCollection(components); - panelControl1 = new DevExpress.XtraEditors.PanelControl(); - bimfaceInterop3dContainer1 = new BimfaceInterop3dContainer(); dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); - docPnlProperty = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - hydroParterPropertyCtrl1 = new HydroParterPropertyCtrl(); - barBtnValid = new DevExpress.XtraBars.BarButtonItem(); - ((ISupportInitialize)ribbonControl1).BeginInit(); - ((ISupportInitialize)xhsProjectMgrViewModelBindingSource).BeginInit(); + sidePanelLeft_Bottom = new DevExpress.XtraEditors.SidePanel(); + accordionControl1 = new DevExpress.XtraBars.Navigation.AccordionControl(); + accBasicInfo = new DevExpress.XtraBars.Navigation.AccordionControlElement(); + accAssetMgr = new DevExpress.XtraBars.Navigation.AccordionControlElement(); + accHydraulicSimulation = new DevExpress.XtraBars.Navigation.AccordionControlElement(); + accScheme = new DevExpress.XtraBars.Navigation.AccordionControlElement(); + accCreateScheme = new DevExpress.XtraBars.Navigation.AccordionControlElement(); + accSchemeComparison = new DevExpress.XtraBars.Navigation.AccordionControlElement(); + sidePanelLeft_Top = new DevExpress.XtraEditors.SidePanel(); + xhsSchemeMgrListCtrl1 = new XhsSchemeMgrListCtrl(); + sidePanelRight_Bottom = new DevExpress.XtraEditors.SidePanel(); + documentManager1 = new DevExpress.XtraBars.Docking2010.DocumentManager(components); + tabbedView1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(components); ((ISupportInitialize)svgImg32).BeginInit(); - ((ISupportInitialize)panelControl1).BeginInit(); - panelControl1.SuspendLayout(); - bimfaceInterop3dContainer1.SuspendLayout(); ((ISupportInitialize)dockManager1).BeginInit(); - docPnlProperty.SuspendLayout(); + dockPanel1.SuspendLayout(); dockPanel1_Container.SuspendLayout(); + sidePanelLeft_Bottom.SuspendLayout(); + ((ISupportInitialize)accordionControl1).BeginInit(); + sidePanelLeft_Top.SuspendLayout(); + ((ISupportInitialize)documentManager1).BeginInit(); + ((ISupportInitialize)tabbedView1).BeginInit(); SuspendLayout(); - // - // ribbonControl1 - // - ribbonControl1.ExpandCollapseItem.Id = 0; - ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnCalcu, barBtnValid }); - ribbonControl1.Location = new Point(1, 1); - ribbonControl1.MaxItemId = 15; - ribbonControl1.Name = "ribbonControl1"; - ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); - ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; - ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; - ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages; - ribbonControl1.ShowToolbarCustomizeItem = false; - ribbonControl1.Size = new Size(996, 128); - ribbonControl1.Toolbar.ShowCustomizeItem = false; - ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; - // - // barBtnCalcu - // - barBtnCalcu.Caption = "璁$畻"; - barBtnCalcu.Id = 1; - barBtnCalcu.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnAdd.ImageOptions.SvgImage"); - barBtnCalcu.Name = "barBtnCalcu"; - // - // ribbonPage1 - // - ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribPageGroupForBasic }); - ribbonPage1.Name = "ribbonPage1"; - ribbonPage1.Text = "ribbonPage1"; - // - // ribPageGroupForBasic - // - ribPageGroupForBasic.ItemLinks.Add(barBtnCalcu); - ribPageGroupForBasic.ItemLinks.Add(barBtnValid); - ribPageGroupForBasic.Name = "ribPageGroupForBasic"; - ribPageGroupForBasic.Text = "鍩虹"; - // - // xhsProjectMgrViewModelBindingSource - // - xhsProjectMgrViewModelBindingSource.DataSource = typeof(XhsProjectMgrViewModel); // // svgImg32 // svgImg32.ImageSize = new Size(32, 32); svgImg32.Add("productquickshippments", "image://svgimages/outlook inspired/productquickshippments.svg"); // - // panelControl1 - // - panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; - panelControl1.Controls.Add(bimfaceInterop3dContainer1); - panelControl1.Dock = DockStyle.Fill; - panelControl1.Location = new Point(1, 129); - panelControl1.Name = "panelControl1"; - panelControl1.Padding = new Padding(0, 1, 0, 0); - panelControl1.Size = new Size(996, 540); - panelControl1.TabIndex = 5; - // - // bimfaceInterop3dContainer1 - // - bimfaceInterop3dContainer1.Controls.Add(docPnlProperty); - bimfaceInterop3dContainer1.Dock = DockStyle.Fill; - bimfaceInterop3dContainer1.Location = new Point(0, 1); - bimfaceInterop3dContainer1.Margin = new Padding(4, 3, 4, 3); - bimfaceInterop3dContainer1.Name = "bimfaceInterop3dContainer1"; - bimfaceInterop3dContainer1.Size = new Size(996, 539); - bimfaceInterop3dContainer1.TabIndex = 0; - // // dockManager1 // - dockManager1.Form = bimfaceInterop3dContainer1; - dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { docPnlProperty }); + dockManager1.DockingOptions.ShowCloseButton = false; + dockManager1.Form = this; + dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanel1 }); + 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" }); // - // docPnlProperty + // dockPanel1 // - docPnlProperty.Controls.Add(dockPanel1_Container); - docPnlProperty.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; - docPnlProperty.ID = new Guid("046def5f-b6d5-4051-a126-6119e05c2220"); - docPnlProperty.Location = new Point(796, 0); - 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, 539); - docPnlProperty.Text = "灞炴��"; + dockPanel1.Controls.Add(dockPanel1_Container); + dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; + dockPanel1.ID = new Guid("cb448c2a-aea0-46f3-b657-46889850e2a7"); + dockPanel1.Location = new Point(1, 2); + dockPanel1.Name = "dockPanel1"; + dockPanel1.OriginalSize = new Size(300, 200); + dockPanel1.Size = new Size(300, 1049); + dockPanel1.Text = "鏂规鍒楄〃"; // // dockPanel1_Container // - dockPanel1_Container.Controls.Add(hydroParterPropertyCtrl1); - dockPanel1_Container.Location = new Point(4, 26); + dockPanel1_Container.Controls.Add(sidePanelLeft_Bottom); + dockPanel1_Container.Controls.Add(sidePanelLeft_Top); + dockPanel1_Container.Location = new Point(0, 34); dockPanel1_Container.Name = "dockPanel1_Container"; - dockPanel1_Container.Size = new Size(193, 510); + dockPanel1_Container.Size = new Size(299, 1015); dockPanel1_Container.TabIndex = 0; // - // hydroParterPropertyCtrl1 + // sidePanelLeft_Bottom // - hydroParterPropertyCtrl1.Dock = DockStyle.Fill; - hydroParterPropertyCtrl1.Location = new Point(0, 0); - hydroParterPropertyCtrl1.Name = "hydroParterPropertyCtrl1"; - hydroParterPropertyCtrl1.SelectedObject = null; - hydroParterPropertyCtrl1.Size = new Size(193, 510); - hydroParterPropertyCtrl1.TabIndex = 0; + sidePanelLeft_Bottom.Controls.Add(accordionControl1); + sidePanelLeft_Bottom.Dock = DockStyle.Fill; + sidePanelLeft_Bottom.Location = new Point(0, 369); + sidePanelLeft_Bottom.Name = "sidePanelLeft_Bottom"; + sidePanelLeft_Bottom.Size = new Size(299, 646); + sidePanelLeft_Bottom.TabIndex = 1; + sidePanelLeft_Bottom.Text = "sidePanel2"; // - // barBtnValid + // accordionControl1 // - barBtnValid.Caption = "楠岃瘉"; - barBtnValid.Id = 14; - barBtnValid.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnValid.ImageOptions.SvgImage"); - barBtnValid.Name = "barBtnValid"; + accordionControl1.AnimationType = DevExpress.XtraBars.Navigation.AnimationType.Spline; + accordionControl1.Appearance.Group.Default.FontSizeDelta = 2; + accordionControl1.Appearance.Group.Default.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Hyperlink; + accordionControl1.Appearance.Group.Default.Options.UseFont = true; + accordionControl1.Appearance.Group.Default.Options.UseForeColor = true; + accordionControl1.Appearance.Item.Default.FontSizeDelta = 1; + accordionControl1.Appearance.Item.Default.Options.UseFont = true; + accordionControl1.Dock = DockStyle.Fill; + accordionControl1.Elements.AddRange(new DevExpress.XtraBars.Navigation.AccordionControlElement[] { accBasicInfo, accAssetMgr, accHydraulicSimulation, accScheme }); + accordionControl1.GroupHeight = 50; + accordionControl1.ItemHeight = 35; + accordionControl1.Location = new Point(0, 0); + accordionControl1.Name = "accordionControl1"; + accordionControl1.OptionsHamburgerMenu.HighlightRootElements = DevExpress.Utils.DefaultBoolean.False; + accordionControl1.OptionsMinimizing.AllowFooterResizing = false; + accordionControl1.OptionsMinimizing.AllowMinimizeMode = DevExpress.Utils.DefaultBoolean.False; + accordionControl1.ScrollBarMode = DevExpress.XtraBars.Navigation.ScrollBarMode.Fluent; + accordionControl1.Size = new Size(299, 646); + accordionControl1.TabIndex = 0; + accordionControl1.ViewType = DevExpress.XtraBars.Navigation.AccordionControlViewType.HamburgerMenu; + accordionControl1.ElementClick += accordionControl1_ElementClick; // - // XhsSchemeMultiMgrPage + // accBasicInfo + // + accBasicInfo.Expanded = true; + accBasicInfo.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("accBasicInfo.ImageOptions.SvgImage"); + accBasicInfo.Name = "accBasicInfo"; + accBasicInfo.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item; + accBasicInfo.Tag = "basic_info"; + accBasicInfo.Text = "璇︾粏淇℃伅"; + // + // accAssetMgr + // + accAssetMgr.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("accAssetMgr.ImageOptions.SvgImage"); + accAssetMgr.Name = "accAssetMgr"; + accAssetMgr.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item; + accAssetMgr.Tag = "asset_mgr"; + accAssetMgr.Text = "璁惧绠$悊"; + // + // accHydraulicSimulation + // + accHydraulicSimulation.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("accHydraulicSimulation.ImageOptions.SvgImage"); + accHydraulicSimulation.Name = "accHydraulicSimulation"; + accHydraulicSimulation.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item; + accHydraulicSimulation.Tag = "hydraulic_simulation"; + accHydraulicSimulation.Text = "姘村姏妯℃嫙"; + // + // accScheme + // + accScheme.Elements.AddRange(new DevExpress.XtraBars.Navigation.AccordionControlElement[] { accCreateScheme, accSchemeComparison }); + accScheme.Expanded = true; + accScheme.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("accScheme.ImageOptions.SvgImage"); + accScheme.Name = "accScheme"; + accScheme.Text = "鏂规绠$悊"; + // + // accCreateScheme + // + accCreateScheme.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("accCreateScheme.ImageOptions.SvgImage"); + accCreateScheme.Name = "accCreateScheme"; + accCreateScheme.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item; + accCreateScheme.Tag = "create_scheme"; + accCreateScheme.Text = "鍒涘缓鏂规"; + // + // accSchemeComparison + // + accSchemeComparison.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("accSchemeComparison.ImageOptions.SvgImage"); + accSchemeComparison.Name = "accSchemeComparison"; + accSchemeComparison.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item; + accSchemeComparison.Tag = "scheme_comparison"; + accSchemeComparison.Text = "鏂规瀵规瘮"; + // + // sidePanelLeft_Top + // + sidePanelLeft_Top.Controls.Add(xhsSchemeMgrListCtrl1); + sidePanelLeft_Top.Dock = DockStyle.Top; + sidePanelLeft_Top.Location = new Point(0, 0); + sidePanelLeft_Top.Name = "sidePanelLeft_Top"; + sidePanelLeft_Top.Size = new Size(299, 369); + sidePanelLeft_Top.TabIndex = 0; + sidePanelLeft_Top.Text = "sidePanel1"; + // + // xhsSchemeMgrListCtrl1 + // + xhsSchemeMgrListCtrl1.Dock = DockStyle.Fill; + xhsSchemeMgrListCtrl1.Location = new Point(0, 0); + xhsSchemeMgrListCtrl1.Margin = new Padding(4, 5, 4, 5); + xhsSchemeMgrListCtrl1.Name = "xhsSchemeMgrListCtrl1"; + xhsSchemeMgrListCtrl1.Size = new Size(299, 368); + xhsSchemeMgrListCtrl1.TabIndex = 0; + // + // sidePanelRight_Bottom + // + sidePanelRight_Bottom.Dock = DockStyle.Fill; + sidePanelRight_Bottom.Location = new Point(301, 2); + sidePanelRight_Bottom.Name = "sidePanelRight_Bottom"; + sidePanelRight_Bottom.Size = new Size(1124, 1049); + sidePanelRight_Bottom.TabIndex = 3; + sidePanelRight_Bottom.Text = "sidePanel3"; + // + // documentManager1 + // + documentManager1.ContainerControl = this; + documentManager1.View = tabbedView1; + documentManager1.ViewCollection.AddRange(new DevExpress.XtraBars.Docking2010.Views.BaseView[] { tabbedView1 }); + // + // tabbedView1 + // + tabbedView1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; + tabbedView1.DocumentSelected += tabbedView1_DocumentSelected; + tabbedView1.DocumentAdded += tabbedView1_DocumentAdded; + tabbedView1.DocumentActivated += tabbedView1_DocumentActivated; + tabbedView1.DocumentClosed += tabbedView1_DocumentClosed; + // + // XhsSchemeMultiMgrPageUpdate // Appearance.BackColor = SystemColors.Control; Appearance.Options.UseBackColor = true; - AutoScaleDimensions = new SizeF(7F, 14F); + AutoScaleDimensions = new SizeF(10F, 22F); AutoScaleMode = AutoScaleMode.Font; - Controls.Add(panelControl1); - Controls.Add(ribbonControl1); - Name = "XhsSchemeMultiMgrPage"; - Padding = new Padding(1); - Size = new Size(998, 670); - ((ISupportInitialize)ribbonControl1).EndInit(); - ((ISupportInitialize)xhsProjectMgrViewModelBindingSource).EndInit(); + Controls.Add(sidePanelRight_Bottom); + Controls.Add(dockPanel1); + Margin = new Padding(6, 8, 6, 8); + Name = "XhsSchemeMultiMgrPageUpdate"; + Padding = new Padding(1, 2, 1, 2); + Size = new Size(1426, 1053); ((ISupportInitialize)svgImg32).EndInit(); - ((ISupportInitialize)panelControl1).EndInit(); - panelControl1.ResumeLayout(false); - bimfaceInterop3dContainer1.ResumeLayout(false); ((ISupportInitialize)dockManager1).EndInit(); - docPnlProperty.ResumeLayout(false); + dockPanel1.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); + sidePanelLeft_Bottom.ResumeLayout(false); + ((ISupportInitialize)accordionControl1).EndInit(); + sidePanelLeft_Top.ResumeLayout(false); + ((ISupportInitialize)documentManager1).EndInit(); + ((ISupportInitialize)tabbedView1).EndInit(); ResumeLayout(false); - PerformLayout(); } #endregion - - private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl1; - private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1; - private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribPageGroupForBasic; - private DevExpress.XtraBars.BarButtonItem barBtnCalcu; - private BindingSource xhsProjectMgrViewModelBindingSource; private DevExpress.Utils.SvgImageCollection svgImg32; - private DevExpress.XtraEditors.PanelControl panelControl1; - private BimfaceInterop3dContainer bimfaceInterop3dContainer1; - private DevExpress.XtraBars.Docking.DockPanel docPnlProperty; - private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; - private HydroParterPropertyCtrl hydroParterPropertyCtrl1; private DevExpress.XtraBars.Docking.DockManager dockManager1; - private DevExpress.XtraBars.BarButtonItem barBtnValid; + private DevExpress.XtraBars.Docking.DockPanel dockPanel1; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; + private DevExpress.XtraEditors.SidePanel sidePanelLeft_Bottom; + private DevExpress.XtraEditors.SidePanel sidePanelLeft_Top; + private DevExpress.XtraBars.Navigation.AccordionControl accordionControl1; + private DevExpress.XtraBars.Navigation.AccordionControlElement accBasicInfo; + private DevExpress.XtraBars.Navigation.AccordionControlElement accScheme; + private DevExpress.XtraBars.Navigation.AccordionControlElement accHydraulicSimulation; + private DevExpress.XtraBars.Navigation.AccordionControlElement accAssetMgr; + private DevExpress.XtraEditors.SidePanel sidePanelRight_Bottom; + private XhsSchemeMgrListCtrl xhsSchemeMgrListCtrl1; + private DevExpress.XtraBars.Navigation.AccordionControlElement accCreateScheme; + private DevExpress.XtraBars.Navigation.AccordionControlElement accSchemeComparison; + private DevExpress.XtraBars.Docking2010.DocumentManager documentManager1; + private DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView tabbedView1; } } -- Gitblit v1.9.3