From 0e83e666b4ea7a521f46835c6395395ea64a81ad Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 04 十二月 2024 13:46:59 +0800 Subject: [PATCH] 右箭关闭 --- DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs b/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs index 4a73d17..f65b599 100644 --- a/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/FrmMain.Designer.cs @@ -75,12 +75,16 @@ this.barSubItem4 = new DevExpress.XtraBars.BarSubItem(); this.fluentFormDefaultManager1 = new DevExpress.XtraBars.FluentDesignSystem.FluentFormDefaultManager(this.components); this.acrd = new DevExpress.XtraBars.Navigation.AccordionControl(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.tabCloseCurrent = new System.Windows.Forms.ToolStripMenuItem(); + this.tabCloseAll = new System.Windows.Forms.ToolStripMenuItem(); this.fluentDesignFormContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tab)).BeginInit(); this.statusStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.fluentDesignFormControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fluentFormDefaultManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.acrd)).BeginInit(); + this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // fluentDesignFormContainer1 @@ -476,6 +480,29 @@ this.acrd.TabIndex = 1; this.acrd.ViewType = DevExpress.XtraBars.Navigation.AccordionControlViewType.HamburgerMenu; // + // contextMenuStrip1 + // + this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tabCloseCurrent, + this.tabCloseAll}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(158, 56); + // + // tabCloseCurrent + // + this.tabCloseCurrent.Image = global::Gs.DevApp.Properties.Resources.close_16x16; + this.tabCloseCurrent.Name = "tabCloseCurrent"; + this.tabCloseCurrent.Size = new System.Drawing.Size(157, 26); + this.tabCloseCurrent.Text = "鍏抽棴褰撳墠椤�"; + // + // tabCloseAll + // + this.tabCloseAll.Image = global::Gs.DevApp.Properties.Resources.deletelist2_16x16; + this.tabCloseAll.Name = "tabCloseAll"; + this.tabCloseAll.Size = new System.Drawing.Size(157, 26); + this.tabCloseAll.Text = "鍏抽棴鍏跺畠椤�"; + // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); @@ -499,6 +526,7 @@ ((System.ComponentModel.ISupportInitialize)(this.fluentDesignFormControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fluentFormDefaultManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.acrd)).EndInit(); + this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); } @@ -548,5 +576,8 @@ private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel5; private DevExpress.XtraBars.BarButtonItem barEasy; private DevExpress.XtraBars.BarSubItem barSubItem4; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem tabCloseCurrent; + private System.Windows.Forms.ToolStripMenuItem tabCloseAll; } } \ No newline at end of file -- Gitblit v1.9.3