From 0d59c0b8d03e8485f7938c95ab6d7303d4b1a329 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 05 八月 2024 15:32:27 +0800 Subject: [PATCH] 错误修改 --- Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 102 insertions(+), 16 deletions(-) diff --git a/Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs b/Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs index 8aee99e..0f6d288 100644 --- a/Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs +++ b/Desktop/HStation.Desktop.Xhs.Core/MainForm.Designer.cs @@ -32,6 +32,9 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); tileNavPane = new DevExpress.XtraBars.Navigation.TileNavPane(); nbTitle = new DevExpress.XtraBars.Navigation.NavButton(); + nbProjectMgr = new DevExpress.XtraBars.Navigation.NavButton(); + nbModelMgr = new DevExpress.XtraBars.Navigation.NavButton(); + nbSystemConfig = new DevExpress.XtraBars.Navigation.NavButton(); nbMin = new DevExpress.XtraBars.Navigation.NavButton(); nbNormal = new DevExpress.XtraBars.Navigation.NavButton(); nbClose = new DevExpress.XtraBars.Navigation.NavButton(); @@ -44,19 +47,29 @@ barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); barDockControlRight = new DevExpress.XtraBars.BarDockControl(); + dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); barDockingMenuItem1 = new DevExpress.XtraBars.BarDockingMenuItem(); tabbedView1 = new DevExpress.XtraBars.Docking2010.Views.Tabbed.TabbedView(components); - dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); + flyoutPanel1 = new DevExpress.Utils.FlyoutPanel(); + flyoutPanelControl1 = new DevExpress.Utils.FlyoutPanelControl(); + svgImg32Model = new DevExpress.Utils.SvgImageCollection(components); ((System.ComponentModel.ISupportInitialize)tileNavPane).BeginInit(); ((System.ComponentModel.ISupportInitialize)documentManager1).BeginInit(); ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)tabbedView1).BeginInit(); ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)tabbedView1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)flyoutPanel1).BeginInit(); + flyoutPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)flyoutPanelControl1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)svgImg32Model).BeginInit(); SuspendLayout(); // // tileNavPane // tileNavPane.Buttons.Add(nbTitle); + tileNavPane.Buttons.Add(nbProjectMgr); + tileNavPane.Buttons.Add(nbModelMgr); + tileNavPane.Buttons.Add(nbSystemConfig); tileNavPane.Buttons.Add(nbMin); tileNavPane.Buttons.Add(nbNormal); tileNavPane.Buttons.Add(nbClose); @@ -71,7 +84,7 @@ tileNavPane.Dock = DockStyle.Top; tileNavPane.Location = new Point(0, 0); tileNavPane.Name = "tileNavPane"; - tileNavPane.Size = new Size(932, 40); + tileNavPane.Size = new Size(1189, 53); tileNavPane.TabIndex = 0; tileNavPane.Text = "tileNavPane1"; tileNavPane.ElementClick += tileNavPane_ElementClick; @@ -80,7 +93,37 @@ // nbTitle // nbTitle.Caption = "寰幆姘村垎鏋愮郴缁�"; + nbTitle.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; + nbTitle.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbTitle.ImageOptions.SvgImage"); nbTitle.Name = "nbTitle"; + nbTitle.ElementClick += nbTitle_ElementClick; + // + // nbProjectMgr + // + nbProjectMgr.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; + nbProjectMgr.Caption = "椤圭洰绠$悊"; + nbProjectMgr.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False; + nbProjectMgr.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbProjectMgr.ImageOptions.SvgImage"); + nbProjectMgr.ImageOptions.SvgImageSize = new Size(24, 24); + nbProjectMgr.Name = "nbProjectMgr"; + nbProjectMgr.ElementClick += nbProjectMgr_ElementClick; + // + // nbModelMgr + // + nbModelMgr.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; + nbModelMgr.Caption = "妯″瀷绠$悊"; + nbModelMgr.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False; + nbModelMgr.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbModelMgr.ImageOptions.SvgImage"); + nbModelMgr.ImageOptions.SvgImageSize = new Size(24, 24); + nbModelMgr.Name = "nbModelMgr"; + nbModelMgr.ElementClick += nbModelMgr_ElementClick; + // + // nbSystemConfig + // + nbSystemConfig.Alignment = DevExpress.XtraBars.Navigation.NavButtonAlignment.Right; + nbSystemConfig.Caption = "绯荤粺閰嶇疆"; + nbSystemConfig.Name = "nbSystemConfig"; + nbSystemConfig.ElementClick += nbSystemConfig_ElementClick; // // nbMin // @@ -88,6 +131,7 @@ nbMin.Caption = null; nbMin.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; nbMin.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbMin.ImageOptions.SvgImage"); + nbMin.ImageOptions.SvgImageSize = new Size(24, 24); nbMin.Name = "nbMin"; nbMin.ElementClick += nbMin_ElementClick; // @@ -97,7 +141,7 @@ nbNormal.Caption = null; nbNormal.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; nbNormal.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbNormal.ImageOptions.SvgImage"); - nbNormal.ImageOptions.SvgImageSize = new Size(24, 24); + nbNormal.ImageOptions.SvgImageSize = new Size(20, 20); nbNormal.Name = "nbNormal"; nbNormal.ElementClick += nbNormal_ElementClick; // @@ -107,6 +151,7 @@ nbClose.Caption = null; nbClose.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; nbClose.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("nbClose.ImageOptions.SvgImage"); + nbClose.ImageOptions.SvgImageSize = new Size(24, 24); nbClose.Name = "nbClose"; nbClose.ElementClick += nabClose_ElementClick; // @@ -162,15 +207,15 @@ barDockControlTop.Dock = DockStyle.Top; barDockControlTop.Location = new Point(0, 0); barDockControlTop.Manager = barManager1; - barDockControlTop.Size = new Size(932, 0); + barDockControlTop.Size = new Size(1189, 0); // // barDockControlBottom // barDockControlBottom.CausesValidation = false; barDockControlBottom.Dock = DockStyle.Bottom; - barDockControlBottom.Location = new Point(0, 498); + barDockControlBottom.Location = new Point(0, 710); barDockControlBottom.Manager = barManager1; - barDockControlBottom.Size = new Size(932, 23); + barDockControlBottom.Size = new Size(1189, 30); // // barDockControlLeft // @@ -178,15 +223,21 @@ barDockControlLeft.Dock = DockStyle.Left; barDockControlLeft.Location = new Point(0, 0); barDockControlLeft.Manager = barManager1; - barDockControlLeft.Size = new Size(0, 498); + barDockControlLeft.Size = new Size(0, 710); // // barDockControlRight // barDockControlRight.CausesValidation = false; barDockControlRight.Dock = DockStyle.Right; - barDockControlRight.Location = new Point(932, 0); + barDockControlRight.Location = new Point(1189, 0); barDockControlRight.Manager = barManager1; - barDockControlRight.Size = new Size(0, 498); + barDockControlRight.Size = new Size(0, 710); + // + // dockManager1 + // + dockManager1.Form = this; + dockManager1.MenuManager = barManager1; + 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" }); // // barDockingMenuItem1 // @@ -202,17 +253,41 @@ tabbedView1.DocumentActivated += tabbedView1_DocumentActivated; tabbedView1.DocumentClosed += tabbedView1_DocumentClosed; // - // dockManager1 + // flyoutPanel1 // - dockManager1.Form = this; - dockManager1.MenuManager = barManager1; - 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" }); + flyoutPanel1.AnimationRate = 100; + flyoutPanel1.Controls.Add(flyoutPanelControl1); + flyoutPanel1.Location = new Point(494, 133); + flyoutPanel1.Name = "flyoutPanel1"; + flyoutPanel1.Options.CloseOnOuterClick = true; + flyoutPanel1.OptionsBeakPanel.BeakLocation = DevExpress.Utils.BeakPanelBeakLocation.Top; + flyoutPanel1.ParentForm = this; + flyoutPanel1.Size = new Size(200, 100); + flyoutPanel1.TabIndex = 5; + // + // flyoutPanelControl1 + // + flyoutPanelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; + flyoutPanelControl1.Dock = DockStyle.Fill; + flyoutPanelControl1.FlyoutPanel = flyoutPanel1; + flyoutPanelControl1.Location = new Point(0, 0); + flyoutPanelControl1.Name = "flyoutPanelControl1"; + flyoutPanelControl1.Size = new Size(200, 100); + flyoutPanelControl1.TabIndex = 0; + // + // svgImg32Model + // + svgImg32Model.ImageSize = new Size(32, 32); + svgImg32Model.Add("actions_book", "image://svgimages/icon builder/actions_book.svg"); + svgImg32Model.Add("charttype_stepline", "image://svgimages/chart/charttype_stepline.svg"); + svgImg32Model.Add("bletter", "image://svgimages/outlook inspired/bletter.svg"); // // MainForm // AutoScaleDimensions = new SizeF(7F, 14F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(932, 521); + ClientSize = new Size(1189, 740); + Controls.Add(flyoutPanel1); Controls.Add(tileNavPane); Controls.Add(barDockControlLeft); Controls.Add(barDockControlRight); @@ -221,6 +296,7 @@ Margin = new Padding(3, 2, 3, 2); Name = "MainForm"; Text = "Form1"; + WindowState = FormWindowState.Maximized; FormClosing += MainForm_FormClosing; FormClosed += MainForm_FormClosed; Load += MainForm_Load; @@ -229,8 +305,12 @@ ((System.ComponentModel.ISupportInitialize)tileNavPane).EndInit(); ((System.ComponentModel.ISupportInitialize)documentManager1).EndInit(); ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); - ((System.ComponentModel.ISupportInitialize)tabbedView1).EndInit(); ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); + ((System.ComponentModel.ISupportInitialize)tabbedView1).EndInit(); + ((System.ComponentModel.ISupportInitialize)flyoutPanel1).EndInit(); + flyoutPanel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)flyoutPanelControl1).EndInit(); + ((System.ComponentModel.ISupportInitialize)svgImg32Model).EndInit(); ResumeLayout(false); PerformLayout(); } @@ -254,5 +334,11 @@ private DevExpress.XtraBars.Navigation.NavButton nbNormal; private DevExpress.XtraBars.Navigation.NavButton nbClose; private DevExpress.XtraBars.Docking.DockManager dockManager1; + private DevExpress.XtraBars.Navigation.NavButton nbProjectMgr; + private DevExpress.XtraBars.Navigation.NavButton nbModelMgr; + private DevExpress.Utils.FlyoutPanel flyoutPanel1; + private DevExpress.Utils.FlyoutPanelControl flyoutPanelControl1; + private DevExpress.Utils.SvgImageCollection svgImg32Model; + private DevExpress.XtraBars.Navigation.NavButton nbSystemConfig; } } -- Gitblit v1.9.3