Parent Directory
|
Revision Log
|
Patch
--- trunk/RomCheater.Logging/LogWriter.Designer.cs 2012/05/09 08:02:18 17 +++ trunk/RomCheater.Logging/LogWriter.Designer.cs 2012/06/05 13:49:07 307 @@ -35,6 +35,9 @@ this.btnClearLog = new System.Windows.Forms.Button(); this.btnCopyLogToClipboard = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.autoscroll_timer = new System.Windows.Forms.Timer(this.components); + this.logupdater = new System.ComponentModel.BackgroundWorker(); + this.chkAutoScroll = new System.Windows.Forms.CheckBox(); this.pnl_top.SuspendLayout(); this.pnl_top_flow.SuspendLayout(); this.SuspendLayout(); @@ -48,7 +51,7 @@ this.txtLog.Margin = new System.Windows.Forms.Padding(0); this.txtLog.Name = "txtLog"; this.txtLog.ReadOnly = true; - this.txtLog.Size = new System.Drawing.Size(280, 240); + this.txtLog.Size = new System.Drawing.Size(469, 240); this.txtLog.TabIndex = 0; this.txtLog.Text = ""; // @@ -60,7 +63,7 @@ this.pnl_top.Location = new System.Drawing.Point(0, 0); this.pnl_top.Margin = new System.Windows.Forms.Padding(0); this.pnl_top.Name = "pnl_top"; - this.pnl_top.Size = new System.Drawing.Size(280, 30); + this.pnl_top.Size = new System.Drawing.Size(469, 30); this.pnl_top.TabIndex = 1; // // pnl_top_flow @@ -68,11 +71,12 @@ this.pnl_top_flow.AutoScroll = true; this.pnl_top_flow.Controls.Add(this.btnClearLog); this.pnl_top_flow.Controls.Add(this.btnCopyLogToClipboard); + this.pnl_top_flow.Controls.Add(this.chkAutoScroll); this.pnl_top_flow.Dock = System.Windows.Forms.DockStyle.Fill; this.pnl_top_flow.Location = new System.Drawing.Point(0, 0); this.pnl_top_flow.Margin = new System.Windows.Forms.Padding(0); this.pnl_top_flow.Name = "pnl_top_flow"; - this.pnl_top_flow.Size = new System.Drawing.Size(276, 26); + this.pnl_top_flow.Size = new System.Drawing.Size(465, 26); this.pnl_top_flow.TabIndex = 0; // // btnClearLog @@ -103,6 +107,27 @@ this.btnCopyLogToClipboard.UseVisualStyleBackColor = true; this.btnCopyLogToClipboard.Click += new System.EventHandler(this.btnCopyLogToClipboard_Click); // + // autoscroll_timer + // + this.autoscroll_timer.Interval = 1000; + this.autoscroll_timer.Tick += new System.EventHandler(this.autoscroll_timer_Tick); + // + // logupdater + // + this.logupdater.DoWork += new System.ComponentModel.DoWorkEventHandler(this.logupdater_DoWork); + this.logupdater.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.logupdater_RunWorkerCompleted); + // + // chkAutoScroll + // + this.chkAutoScroll.AutoSize = true; + this.chkAutoScroll.Location = new System.Drawing.Point(279, 3); + this.chkAutoScroll.Name = "chkAutoScroll"; + this.chkAutoScroll.Size = new System.Drawing.Size(163, 20); + this.chkAutoScroll.TabIndex = 2; + this.chkAutoScroll.Text = "Auto Scroll Ouput"; + this.chkAutoScroll.UseVisualStyleBackColor = true; + this.chkAutoScroll.CheckedChanged += new System.EventHandler(this.chkAutoScroll_CheckedChanged); + // // LogWriter // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); @@ -112,7 +137,8 @@ this.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(0); this.Name = "LogWriter"; - this.Size = new System.Drawing.Size(280, 270); + this.Size = new System.Drawing.Size(469, 270); + this.Load += new System.EventHandler(this.LogWriter_Load); this.pnl_top.ResumeLayout(false); this.pnl_top_flow.ResumeLayout(false); this.pnl_top_flow.PerformLayout(); @@ -128,5 +154,8 @@ private System.Windows.Forms.Button btnClearLog; private System.Windows.Forms.Button btnCopyLogToClipboard; private System.Windows.Forms.ToolTip toolTip1; + private System.Windows.Forms.Timer autoscroll_timer; + private System.ComponentModel.BackgroundWorker logupdater; + private System.Windows.Forms.CheckBox chkAutoScroll; } }
ViewVC Help | |
Powered by ViewVC 1.1.22 |