ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/LogWriter.Designer.cs
Revision: 307
Committed: Tue Jun 5 13:49:07 2012 UTC (11 years ago) by william
File size: 8351 byte(s)
Log Message:
+ add a checkbox to turn on/off autoscroll

File Contents

# User Rev Content
1 william 17 namespace RomCheater.Logging
2     {
3     partial class LogWriter
4     {
5     /// <summary>
6     /// Required designer variable.
7     /// </summary>
8     private System.ComponentModel.IContainer components = null;
9    
10     /// <summary>
11     /// Clean up any resources being used.
12     /// </summary>
13     /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14     protected override void Dispose(bool disposing)
15     {
16     if (disposing && (components != null))
17     {
18     components.Dispose();
19     }
20     base.Dispose(disposing);
21     }
22    
23     #region Component Designer generated code
24    
25     /// <summary>
26     /// Required method for Designer support - do not modify
27     /// the contents of this method with the code editor.
28     /// </summary>
29     private void InitializeComponent()
30     {
31     this.components = new System.ComponentModel.Container();
32     this.txtLog = new System.Windows.Forms.RichTextBox();
33     this.pnl_top = new System.Windows.Forms.Panel();
34     this.pnl_top_flow = new System.Windows.Forms.FlowLayoutPanel();
35     this.btnClearLog = new System.Windows.Forms.Button();
36     this.btnCopyLogToClipboard = new System.Windows.Forms.Button();
37     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
38 william 105 this.autoscroll_timer = new System.Windows.Forms.Timer(this.components);
39 william 298 this.logupdater = new System.ComponentModel.BackgroundWorker();
40 william 307 this.chkAutoScroll = new System.Windows.Forms.CheckBox();
41 william 17 this.pnl_top.SuspendLayout();
42     this.pnl_top_flow.SuspendLayout();
43     this.SuspendLayout();
44     //
45     // txtLog
46     //
47     this.txtLog.BackColor = System.Drawing.SystemColors.ControlDark;
48     this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
49     this.txtLog.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
50     this.txtLog.Location = new System.Drawing.Point(0, 30);
51     this.txtLog.Margin = new System.Windows.Forms.Padding(0);
52     this.txtLog.Name = "txtLog";
53     this.txtLog.ReadOnly = true;
54 william 307 this.txtLog.Size = new System.Drawing.Size(469, 240);
55 william 17 this.txtLog.TabIndex = 0;
56     this.txtLog.Text = "";
57     //
58     // pnl_top
59     //
60     this.pnl_top.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
61     this.pnl_top.Controls.Add(this.pnl_top_flow);
62     this.pnl_top.Dock = System.Windows.Forms.DockStyle.Top;
63     this.pnl_top.Location = new System.Drawing.Point(0, 0);
64     this.pnl_top.Margin = new System.Windows.Forms.Padding(0);
65     this.pnl_top.Name = "pnl_top";
66 william 307 this.pnl_top.Size = new System.Drawing.Size(469, 30);
67 william 17 this.pnl_top.TabIndex = 1;
68     //
69     // pnl_top_flow
70     //
71     this.pnl_top_flow.AutoScroll = true;
72     this.pnl_top_flow.Controls.Add(this.btnClearLog);
73     this.pnl_top_flow.Controls.Add(this.btnCopyLogToClipboard);
74 william 307 this.pnl_top_flow.Controls.Add(this.chkAutoScroll);
75 william 17 this.pnl_top_flow.Dock = System.Windows.Forms.DockStyle.Fill;
76     this.pnl_top_flow.Location = new System.Drawing.Point(0, 0);
77     this.pnl_top_flow.Margin = new System.Windows.Forms.Padding(0);
78     this.pnl_top_flow.Name = "pnl_top_flow";
79 william 307 this.pnl_top_flow.Size = new System.Drawing.Size(465, 26);
80 william 17 this.pnl_top_flow.TabIndex = 0;
81     //
82     // btnClearLog
83     //
84     this.btnClearLog.AutoSize = true;
85     this.btnClearLog.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
86     this.btnClearLog.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
87     this.btnClearLog.Location = new System.Drawing.Point(0, 0);
88     this.btnClearLog.Margin = new System.Windows.Forms.Padding(0);
89     this.btnClearLog.Name = "btnClearLog";
90     this.btnClearLog.Size = new System.Drawing.Size(90, 26);
91     this.btnClearLog.TabIndex = 0;
92     this.btnClearLog.Text = "Clear Log";
93     this.btnClearLog.UseVisualStyleBackColor = true;
94     this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
95     //
96     // btnCopyLogToClipboard
97     //
98     this.btnCopyLogToClipboard.AutoSize = true;
99     this.btnCopyLogToClipboard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
100     this.btnCopyLogToClipboard.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
101     this.btnCopyLogToClipboard.Location = new System.Drawing.Point(90, 0);
102     this.btnCopyLogToClipboard.Margin = new System.Windows.Forms.Padding(0);
103     this.btnCopyLogToClipboard.Name = "btnCopyLogToClipboard";
104     this.btnCopyLogToClipboard.Size = new System.Drawing.Size(186, 26);
105     this.btnCopyLogToClipboard.TabIndex = 1;
106     this.btnCopyLogToClipboard.Text = "Copy Log to Clipboard";
107     this.btnCopyLogToClipboard.UseVisualStyleBackColor = true;
108     this.btnCopyLogToClipboard.Click += new System.EventHandler(this.btnCopyLogToClipboard_Click);
109     //
110 william 105 // autoscroll_timer
111     //
112     this.autoscroll_timer.Interval = 1000;
113     this.autoscroll_timer.Tick += new System.EventHandler(this.autoscroll_timer_Tick);
114     //
115 william 298 // logupdater
116     //
117     this.logupdater.DoWork += new System.ComponentModel.DoWorkEventHandler(this.logupdater_DoWork);
118     this.logupdater.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.logupdater_RunWorkerCompleted);
119     //
120 william 307 // chkAutoScroll
121     //
122     this.chkAutoScroll.AutoSize = true;
123     this.chkAutoScroll.Location = new System.Drawing.Point(279, 3);
124     this.chkAutoScroll.Name = "chkAutoScroll";
125     this.chkAutoScroll.Size = new System.Drawing.Size(163, 20);
126     this.chkAutoScroll.TabIndex = 2;
127     this.chkAutoScroll.Text = "Auto Scroll Ouput";
128     this.chkAutoScroll.UseVisualStyleBackColor = true;
129     this.chkAutoScroll.CheckedChanged += new System.EventHandler(this.chkAutoScroll_CheckedChanged);
130     //
131 william 17 // LogWriter
132     //
133     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
134     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
135     this.Controls.Add(this.txtLog);
136     this.Controls.Add(this.pnl_top);
137     this.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
138     this.Margin = new System.Windows.Forms.Padding(0);
139     this.Name = "LogWriter";
140 william 307 this.Size = new System.Drawing.Size(469, 270);
141 william 303 this.Load += new System.EventHandler(this.LogWriter_Load);
142 william 17 this.pnl_top.ResumeLayout(false);
143     this.pnl_top_flow.ResumeLayout(false);
144     this.pnl_top_flow.PerformLayout();
145     this.ResumeLayout(false);
146    
147     }
148    
149     #endregion
150    
151     private System.Windows.Forms.RichTextBox txtLog;
152     private System.Windows.Forms.Panel pnl_top;
153     private System.Windows.Forms.FlowLayoutPanel pnl_top_flow;
154     private System.Windows.Forms.Button btnClearLog;
155     private System.Windows.Forms.Button btnCopyLogToClipboard;
156     private System.Windows.Forms.ToolTip toolTip1;
157 william 105 private System.Windows.Forms.Timer autoscroll_timer;
158 william 298 private System.ComponentModel.BackgroundWorker logupdater;
159 william 307 private System.Windows.Forms.CheckBox chkAutoScroll;
160 william 17 }
161     }