From 9d05b4e5a7b667afb6d13cbcb460e377c175c170 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期三, 01 七月 2020 19:44:26 +0800 Subject: [PATCH] 添加M071主界面和标签指示, --- src/Bro.UI.Config/MenuForms/FrmLog.Designer.cs | 40 ++++++++++++++++++++++++---------------- 1 files changed, 24 insertions(+), 16 deletions(-) diff --git a/src/Bro.UI.Config/MenuForms/FrmLog.Designer.cs b/src/Bro.UI.Config/MenuForms/FrmLog.Designer.cs index 476fc51..c105e7a 100644 --- a/src/Bro.UI.Config/MenuForms/FrmLog.Designer.cs +++ b/src/Bro.UI.Config/MenuForms/FrmLog.Designer.cs @@ -28,41 +28,48 @@ /// </summary> private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); this.txtLog = new System.Windows.Forms.TextBox(); - this.btnClearLog = new System.Windows.Forms.Button(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.tsmiClearLog = new System.Windows.Forms.ToolStripMenuItem(); + this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // txtLog // - this.txtLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.txtLog.Location = new System.Drawing.Point(0, 33); + this.txtLog.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txtLog.ContextMenuStrip = this.contextMenuStrip1; + this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill; + this.txtLog.Location = new System.Drawing.Point(0, 0); this.txtLog.Multiline = true; this.txtLog.Name = "txtLog"; this.txtLog.ReadOnly = true; this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtLog.Size = new System.Drawing.Size(800, 455); + this.txtLog.Size = new System.Drawing.Size(800, 488); this.txtLog.TabIndex = 0; // - // btnClearLog + // contextMenuStrip1 // - this.btnClearLog.Location = new System.Drawing.Point(21, 4); - this.btnClearLog.Name = "btnClearLog"; - this.btnClearLog.Size = new System.Drawing.Size(75, 23); - this.btnClearLog.TabIndex = 1; - this.btnClearLog.Text = "娓呯┖鏃ュ織"; - this.btnClearLog.UseVisualStyleBackColor = true; - this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click); + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsmiClearLog}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(125, 26); + // + // tsmiClearLog + // + this.tsmiClearLog.Name = "tsmiClearLog"; + this.tsmiClearLog.Size = new System.Drawing.Size(180, 22); + this.tsmiClearLog.Text = "娓呯┖鏃ュ織"; + this.tsmiClearLog.Click += new System.EventHandler(this.tsmiClearLog_Click); // // FrmLog // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; this.ClientSize = new System.Drawing.Size(800, 488); - this.Controls.Add(this.btnClearLog); this.Controls.Add(this.txtLog); this.Name = "FrmLog"; this.Text = "FrmLog"; + this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -71,6 +78,7 @@ #endregion private System.Windows.Forms.TextBox txtLog; - private System.Windows.Forms.Button btnClearLog; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem tsmiClearLog; } } \ No newline at end of file -- Gitblit v1.8.0