From 849ca958c2d6e5346d2b381be2c6c3429935947a Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 26 十一月 2024 08:11:11 +0800 Subject: [PATCH] 1 --- DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs | 33 +++++++++++++++++++++++++-------- 1 files changed, 25 insertions(+), 8 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs index 53f85a5..f26ff57 100644 --- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs @@ -65,6 +65,7 @@ this.btnZanTing = new DevExpress.XtraBars.BarLargeButtonItem(); this.btnBdll = new DevExpress.XtraBars.BarLargeButtonItem(); this.btnWg = new DevExpress.XtraBars.BarLargeButtonItem(); + this.btnTb = new DevExpress.XtraBars.BarLargeButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); @@ -115,9 +116,10 @@ this.btnZanTing, this.btnBdll, this.btnWg, - this.barLargeButtonItem1}); + this.barLargeButtonItem1, + this.btnTb}); this.barManager1.MainMenu = this.bar2; - this.barManager1.MaxItemId = 48; + this.barManager1.MaxItemId = 49; // // bar2 // @@ -157,7 +159,8 @@ new DevExpress.XtraBars.LinkPersistInfo(this.btnDkg), new DevExpress.XtraBars.LinkPersistInfo(this.btnZanTing), new DevExpress.XtraBars.LinkPersistInfo(this.btnBdll), - new DevExpress.XtraBars.LinkPersistInfo(this.btnWg)}); + new DevExpress.XtraBars.LinkPersistInfo(this.btnWg), + new DevExpress.XtraBars.LinkPersistInfo(this.btnTb)}); this.bar2.OptionsBar.MultiLine = true; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Main menu"; @@ -475,19 +478,32 @@ this.btnWg.Name = "btnWg"; this.btnWg.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // + // btnTb + // + this.btnTb.Caption = "鍚屾"; + this.btnTb.Id = 48; + this.btnTb.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.sortasc_16x161; + this.btnTb.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.sortasc_32x321; + this.btnTb.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F); + this.btnTb.ItemAppearance.Normal.Options.UseFont = true; + this.btnTb.ItemInMenuAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F); + this.btnTb.ItemInMenuAppearance.Normal.Options.UseFont = true; + this.btnTb.Name = "btnTb"; + this.btnTb.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; + // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Manager = this.barManager1; - this.barDockControlTop.Size = new System.Drawing.Size(1543, 145); + this.barDockControlTop.Size = new System.Drawing.Size(1543, 148); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.barDockControlBottom.Location = new System.Drawing.Point(0, 45); + this.barDockControlBottom.Location = new System.Drawing.Point(0, 61); this.barDockControlBottom.Manager = this.barManager1; this.barDockControlBottom.Size = new System.Drawing.Size(1543, 0); // @@ -495,7 +511,7 @@ // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; - this.barDockControlLeft.Location = new System.Drawing.Point(0, 145); + this.barDockControlLeft.Location = new System.Drawing.Point(0, 148); this.barDockControlLeft.Manager = this.barManager1; this.barDockControlLeft.Size = new System.Drawing.Size(0, 0); // @@ -503,7 +519,7 @@ // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; - this.barDockControlRight.Location = new System.Drawing.Point(1543, 145); + this.barDockControlRight.Location = new System.Drawing.Point(1543, 148); this.barDockControlRight.Manager = this.barManager1; this.barDockControlRight.Size = new System.Drawing.Size(0, 0); // @@ -522,7 +538,7 @@ this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "UcToolBarMenu"; - this.Size = new System.Drawing.Size(1543, 45); + this.Size = new System.Drawing.Size(1543, 61); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -569,5 +585,6 @@ private DevExpress.XtraBars.BarLargeButtonItem btnBdll; private DevExpress.XtraBars.BarLargeButtonItem btnWg; private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem1; + private DevExpress.XtraBars.BarLargeButtonItem btnTb; } } -- Gitblit v1.9.3