From b2db1fbcea11f4dbdbca91f4ebe72e916fb509f2 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期一, 21 七月 2025 16:28:10 +0800 Subject: [PATCH] 增加按钮 --- DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs | 52 ++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 44 insertions(+), 8 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs index d873c15..a5269aa 100644 --- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.Designer.cs @@ -70,10 +70,13 @@ this.barLargeButtonItem2 = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem3 = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem4 = new DevExpress.XtraBars.BarLargeButtonItem(); + this.btnAll = new DevExpress.XtraBars.BarLargeButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); + this.btnGongZi = new DevExpress.XtraBars.BarLargeButtonItem(); + this.btnLianBan = new DevExpress.XtraBars.BarLargeButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.SuspendLayout(); // @@ -126,9 +129,12 @@ this.barLargeButtonItem2, this.barLargeButtonItem3, this.barLargeButtonItem4, - this.btnFPiZhun}); + this.btnFPiZhun, + this.btnAll, + this.btnGongZi, + this.btnLianBan}); this.barManager1.MainMenu = this.bar2; - this.barManager1.MaxItemId = 67; + this.barManager1.MaxItemId = 71; // // bar2 // @@ -177,8 +183,10 @@ new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem3), - new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem4)}); - this.bar2.OptionsBar.AllowQuickCustomization = false; + new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem4), + new DevExpress.XtraBars.LinkPersistInfo(this.btnAll), + new DevExpress.XtraBars.LinkPersistInfo(this.btnGongZi), + new DevExpress.XtraBars.LinkPersistInfo(this.btnLianBan)}); this.bar2.OptionsBar.DrawBorder = false; this.bar2.OptionsBar.DrawDragBorder = false; this.bar2.OptionsBar.MultiLine = true; @@ -549,6 +557,15 @@ this.barLargeButtonItem4.Tag = "Never"; this.barLargeButtonItem4.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // + // btnAll + // + this.btnAll.Caption = "鎵归噺璁剧疆"; + this.btnAll.Id = 67; + this.btnAll.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.dayview_16x16; + this.btnAll.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.dayview_32x32; + this.btnAll.Name = "btnAll"; + this.btnAll.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; + // // barDockControlTop // this.barDockControlTop.CausesValidation = false; @@ -561,7 +578,7 @@ // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.barDockControlBottom.Location = new System.Drawing.Point(0, 146); + this.barDockControlBottom.Location = new System.Drawing.Point(0, 294); this.barDockControlBottom.Manager = this.barManager1; this.barDockControlBottom.Size = new System.Drawing.Size(1543, 0); // @@ -571,7 +588,7 @@ this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 142); this.barDockControlLeft.Manager = this.barManager1; - this.barDockControlLeft.Size = new System.Drawing.Size(0, 4); + this.barDockControlLeft.Size = new System.Drawing.Size(0, 152); // // barDockControlRight // @@ -579,7 +596,23 @@ this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(1543, 142); this.barDockControlRight.Manager = this.barManager1; - this.barDockControlRight.Size = new System.Drawing.Size(0, 4); + this.barDockControlRight.Size = new System.Drawing.Size(0, 152); + // + // btnGongZi + // + this.btnGongZi.Caption = "璁$畻宸ヨ祫"; + this.btnGongZi.Id = 69; + this.btnGongZi.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barLargeButtonItem5.ImageOptions.Image"))); + this.btnGongZi.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barLargeButtonItem5.ImageOptions.LargeImage"))); + this.btnGongZi.Name = "btnGongZi"; + // + // btnLianBan + // + this.btnLianBan.Caption = "璁剧疆杩炵彮"; + this.btnLianBan.Id = 70; + this.btnLianBan.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barLargeButtonItem6.ImageOptions.Image"))); + this.btnLianBan.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barLargeButtonItem6.ImageOptions.LargeImage"))); + this.btnLianBan.Name = "btnLianBan"; // // UcToolBarMenu // @@ -590,7 +623,7 @@ this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "UcToolBarMenu"; - this.Size = new System.Drawing.Size(1543, 146); + this.Size = new System.Drawing.Size(1543, 294); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -641,5 +674,8 @@ private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem3; private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem4; private DevExpress.XtraBars.BarLargeButtonItem btnFPiZhun; + private DevExpress.XtraBars.BarLargeButtonItem btnAll; + private DevExpress.XtraBars.BarLargeButtonItem btnGongZi; + private DevExpress.XtraBars.BarLargeButtonItem btnLianBan; } } -- Gitblit v1.9.3