| | |
| | | /// </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(); |
| | | |
| | |
| | | #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; |
| | | } |
| | | } |