From 3a986da7b0e385cb5d8101d3bf1e8c5f4acc9553 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 18 二月 2025 15:03:43 +0800 Subject: [PATCH] 版面 --- DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs index 1ba0339..2a95032 100644 --- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs @@ -63,6 +63,7 @@ this.btnJieAn = new DevExpress.XtraBars.BarLargeButtonItem(); this.btnFjieAn = new DevExpress.XtraBars.BarLargeButtonItem(); this.btnHelp = new DevExpress.XtraBars.BarLargeButtonItem(); + this.btnLayout = new DevExpress.XtraBars.BarLargeButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); @@ -110,9 +111,10 @@ this.btnKg, this.btnZhongTai, this.btnWg, - this.btnHelp}); + this.btnHelp, + this.btnLayout}); this.barManager1.MainMenu = this.bar2; - this.barManager1.MaxItemId = 51; + this.barManager1.MaxItemId = 52; // // bar2 // @@ -150,7 +152,9 @@ new DevExpress.XtraBars.LinkPersistInfo(this.btnZhongTai), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnJieAn, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnFjieAn, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), - new DevExpress.XtraBars.LinkPersistInfo(this.btnHelp)}); + new DevExpress.XtraBars.LinkPersistInfo(this.btnHelp), + new DevExpress.XtraBars.LinkPersistInfo(this.btnLayout)}); + this.bar2.OptionsBar.AllowQuickCustomization = false; this.bar2.OptionsBar.MultiLine = true; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Main menu"; @@ -450,6 +454,15 @@ this.btnHelp.ItemAppearance.Normal.Options.UseFont = true; this.btnHelp.Name = "btnHelp"; // + // btnLayout + // + this.btnLayout.Caption = "淇濆瓨鐗堥潰"; + this.btnLayout.Id = 51; + this.btnLayout.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.globalcolorscheme_16x16; + this.btnLayout.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.globalcolorscheme_32x32; + this.btnLayout.Name = "btnLayout"; + this.btnLayout.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; + // // barDockControlTop // this.barDockControlTop.CausesValidation = false; @@ -462,7 +475,7 @@ // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.barDockControlBottom.Location = new System.Drawing.Point(0, 60); + this.barDockControlBottom.Location = new System.Drawing.Point(0, 66); this.barDockControlBottom.Manager = this.barManager1; this.barDockControlBottom.Size = new System.Drawing.Size(1543, 0); // @@ -491,7 +504,7 @@ this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "UcToolBarMenu"; - this.Size = new System.Drawing.Size(1543, 60); + this.Size = new System.Drawing.Size(1543, 66); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -535,6 +548,6 @@ private DevExpress.XtraBars.BarLargeButtonItem btnZhongTai; private DevExpress.XtraBars.BarLargeButtonItem btnWg; private DevExpress.XtraBars.BarLargeButtonItem btnHelp; - + private DevExpress.XtraBars.BarLargeButtonItem btnLayout; } } -- Gitblit v1.9.3