From 84a67b8541e5d26d3eb79adde960488226adbd0e Mon Sep 17 00:00:00 2001 From: lg <999544862qq.com> Date: 星期六, 31 八月 2024 10:32:14 +0800 Subject: [PATCH] 优化,删除了用不到的命名空间 --- DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs | 48 ++++++++++++++++++++++++++++++------------------ 1 files changed, 30 insertions(+), 18 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs b/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs index 9de23ef..198e3c7 100644 --- a/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/ToolBarMenu.Designer.cs @@ -39,7 +39,6 @@ this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar2 = new DevExpress.XtraBars.Bar(); this.btnAdd = new DevExpress.XtraBars.BarLargeButtonItem(); - this.btnDel = new DevExpress.XtraBars.BarLargeButtonItem(); this.btnEdit = new DevExpress.XtraBars.BarLargeButtonItem(); this.btnSave = new DevExpress.XtraBars.BarLargeButtonItem(); this.btnView = new DevExpress.XtraBars.BarLargeButtonItem(); @@ -47,10 +46,12 @@ this.btnLoad = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem9 = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem10 = new DevExpress.XtraBars.BarLargeButtonItem(); + this.btnDel = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem1 = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem2 = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem8 = new DevExpress.XtraBars.BarLargeButtonItem(); this.barLargeButtonItem3 = new DevExpress.XtraBars.BarLargeButtonItem(); + this.barLargeButtonItem4 = new DevExpress.XtraBars.BarLargeButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); @@ -89,7 +90,7 @@ // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; - this.barDockControlLeft.Location = new System.Drawing.Point(0, 74); + this.barDockControlLeft.Location = new System.Drawing.Point(0, 94); this.barDockControlLeft.Manager = this.barManager1; this.barDockControlLeft.Size = new System.Drawing.Size(0, 0); // @@ -117,9 +118,10 @@ this.barLargeButtonItem10, this.barLargeButtonItem1, this.barLargeButtonItem2, - this.barLargeButtonItem3}); + this.barLargeButtonItem3, + this.barLargeButtonItem4}); this.barManager1.MainMenu = this.bar2; - this.barManager1.MaxItemId = 18; + this.barManager1.MaxItemId = 19; // // bar2 // @@ -129,7 +131,6 @@ this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnAdd, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), - new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnDel, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnEdit, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnSave, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnView, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), @@ -137,10 +138,12 @@ new DevExpress.XtraBars.LinkPersistInfo(this.btnLoad), new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem9), new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem10), + new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnDel, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem8), - new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem3)}); + new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem3), + new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem4)}); this.bar2.OptionsBar.MultiLine = true; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Main menu"; @@ -156,16 +159,6 @@ this.btnAdd.ItemInMenuAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F); this.btnAdd.ItemInMenuAppearance.Normal.Options.UseFont = true; this.btnAdd.Name = "btnAdd"; - // - // btnDel - // - this.btnDel.Caption = "鍒犻櫎"; - this.btnDel.Id = 4; - this.btnDel.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; - this.btnDel.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.removegroupfooter_32x32; - this.btnDel.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F); - this.btnDel.ItemAppearance.Normal.Options.UseFont = true; - this.btnDel.Name = "btnDel"; // // btnEdit // @@ -237,6 +230,16 @@ this.barLargeButtonItem10.ItemAppearance.Normal.Options.UseFont = true; this.barLargeButtonItem10.Name = "barLargeButtonItem10"; // + // btnDel + // + this.btnDel.Caption = "鍒犻櫎"; + this.btnDel.Id = 4; + this.btnDel.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + this.btnDel.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.removegroupfooter_32x32; + this.btnDel.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F); + this.btnDel.ItemAppearance.Normal.Options.UseFont = true; + this.btnDel.Name = "btnDel"; + // // barLargeButtonItem1 // this.barLargeButtonItem1.Caption = "鎵撳嵃"; @@ -278,13 +281,21 @@ this.barLargeButtonItem3.ItemAppearance.Normal.Options.UseFont = true; this.barLargeButtonItem3.Name = "barLargeButtonItem3"; // + // barLargeButtonItem4 + // + this.barLargeButtonItem4.Caption = "鏃ュ織"; + this.barLargeButtonItem4.Id = 18; + this.barLargeButtonItem4.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.salesperiodlifetime_16x16; + this.barLargeButtonItem4.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.salesperiodlifetime_32x32; + this.barLargeButtonItem4.Name = "barLargeButtonItem4"; + // // 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(926, 74); + this.barDockControlTop.Size = new System.Drawing.Size(926, 94); // // barDockControlBottom // @@ -298,7 +309,7 @@ // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; - this.barDockControlRight.Location = new System.Drawing.Point(926, 74); + this.barDockControlRight.Location = new System.Drawing.Point(926, 94); this.barDockControlRight.Manager = this.barManager1; this.barDockControlRight.Size = new System.Drawing.Size(0, 0); // @@ -356,5 +367,6 @@ private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem1; private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem2; private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem3; + private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem4; } } -- Gitblit v1.9.3