From 79090fa8471bad8aba899124fd6f42e6ba9e6bf0 Mon Sep 17 00:00:00 2001 From: zqm Date: Fri, 7 Nov 2025 10:58:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8Designer.cs=E4=B8=AD=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8C=89=E9=92=AEbtnDeleteRegion=E7=9A=84?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Framework4.0/Toprie/Toprie/Setting.Designer.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs b/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs index d51c25f..d39aa81 100644 --- a/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs +++ b/Windows/CS/Framework4.0/Toprie/Toprie/Setting.Designer.cs @@ -35,6 +35,7 @@ this.toolStrip = new System.Windows.Forms.ToolStrip(); this.btnDrawRegion = new System.Windows.Forms.ToolStripButton(); this.btnSelectColor = new System.Windows.Forms.ToolStripButton(); + this.btnDeleteRegion = new System.Windows.Forms.ToolStripButton(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); @@ -108,7 +109,8 @@ this.toolStrip.ImageScalingSize = new System.Drawing.Size(20, 20); this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnDrawRegion, - this.btnSelectColor}); + this.btnSelectColor, + this.btnDeleteRegion}); this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; @@ -135,6 +137,15 @@ this.btnSelectColor.Text = "选择颜色"; this.btnSelectColor.ToolTipText = "选择绘制区域的颜色(点击更换颜色)"; // + // btnDeleteRegion + // + this.btnDeleteRegion.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.btnDeleteRegion.ImageTransparentColor = System.Drawing.Color.Transparent; + this.btnDeleteRegion.Name = "btnDeleteRegion"; + this.btnDeleteRegion.Size = new System.Drawing.Size(23, 4); + this.btnDeleteRegion.Text = "删除区域"; + this.btnDeleteRegion.ToolTipText = "删除选中的区域"; + // // Setting // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); @@ -169,5 +180,6 @@ private System.Windows.Forms.ToolStrip toolStrip; private System.Windows.Forms.ToolStripButton btnDrawRegion; private System.Windows.Forms.ToolStripButton btnSelectColor; + private System.Windows.Forms.ToolStripButton btnDeleteRegion; } } \ No newline at end of file