ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/LogWriter.Designer.cs
Revision: 309
Committed: Tue Jun 5 14:07:27 2012 UTC (11 years ago) by william
File size: 7528 byte(s)
Log Message:
+ fix auto scroll, so that it will only scroll when the log is updated and not on a timer
+ tidy up old (obsolete) code

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 william 309 this.chkAutoScroll = new System.Windows.Forms.CheckBox();
38 william 17 this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
39     this.pnl_top.SuspendLayout();
40     this.pnl_top_flow.SuspendLayout();
41     this.SuspendLayout();
42     //
43     // txtLog
44     //
45     this.txtLog.BackColor = System.Drawing.SystemColors.ControlDark;
46     this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
47     this.txtLog.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
48     this.txtLog.Location = new System.Drawing.Point(0, 30);
49     this.txtLog.Margin = new System.Windows.Forms.Padding(0);
50     this.txtLog.Name = "txtLog";
51     this.txtLog.ReadOnly = true;
52 william 307 this.txtLog.Size = new System.Drawing.Size(469, 240);
53 william 17 this.txtLog.TabIndex = 0;
54     this.txtLog.Text = "";
55     //
56     // pnl_top
57     //
58     this.pnl_top.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
59     this.pnl_top.Controls.Add(this.pnl_top_flow);
60     this.pnl_top.Dock = System.Windows.Forms.DockStyle.Top;
61     this.pnl_top.Location = new System.Drawing.Point(0, 0);
62     this.pnl_top.Margin = new System.Windows.Forms.Padding(0);
63     this.pnl_top.Name = "pnl_top";
64 william 307 this.pnl_top.Size = new System.Drawing.Size(469, 30);
65 william 17 this.pnl_top.TabIndex = 1;
66     //
67     // pnl_top_flow
68     //
69     this.pnl_top_flow.AutoScroll = true;
70     this.pnl_top_flow.Controls.Add(this.btnClearLog);
71     this.pnl_top_flow.Controls.Add(this.btnCopyLogToClipboard);
72 william 307 this.pnl_top_flow.Controls.Add(this.chkAutoScroll);
73 william 17 this.pnl_top_flow.Dock = System.Windows.Forms.DockStyle.Fill;
74     this.pnl_top_flow.Location = new System.Drawing.Point(0, 0);
75     this.pnl_top_flow.Margin = new System.Windows.Forms.Padding(0);
76     this.pnl_top_flow.Name = "pnl_top_flow";
77 william 307 this.pnl_top_flow.Size = new System.Drawing.Size(465, 26);
78 william 17 this.pnl_top_flow.TabIndex = 0;
79     //
80     // btnClearLog
81     //
82     this.btnClearLog.AutoSize = true;
83     this.btnClearLog.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
84     this.btnClearLog.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
85     this.btnClearLog.Location = new System.Drawing.Point(0, 0);
86     this.btnClearLog.Margin = new System.Windows.Forms.Padding(0);
87     this.btnClearLog.Name = "btnClearLog";
88     this.btnClearLog.Size = new System.Drawing.Size(90, 26);
89     this.btnClearLog.TabIndex = 0;
90     this.btnClearLog.Text = "Clear Log";
91     this.btnClearLog.UseVisualStyleBackColor = true;
92     this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
93     //
94     // btnCopyLogToClipboard
95     //
96     this.btnCopyLogToClipboard.AutoSize = true;
97     this.btnCopyLogToClipboard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
98     this.btnCopyLogToClipboard.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
99     this.btnCopyLogToClipboard.Location = new System.Drawing.Point(90, 0);
100     this.btnCopyLogToClipboard.Margin = new System.Windows.Forms.Padding(0);
101     this.btnCopyLogToClipboard.Name = "btnCopyLogToClipboard";
102     this.btnCopyLogToClipboard.Size = new System.Drawing.Size(186, 26);
103     this.btnCopyLogToClipboard.TabIndex = 1;
104     this.btnCopyLogToClipboard.Text = "Copy Log to Clipboard";
105     this.btnCopyLogToClipboard.UseVisualStyleBackColor = true;
106     this.btnCopyLogToClipboard.Click += new System.EventHandler(this.btnCopyLogToClipboard_Click);
107     //
108 william 307 // chkAutoScroll
109     //
110     this.chkAutoScroll.AutoSize = true;
111     this.chkAutoScroll.Location = new System.Drawing.Point(279, 3);
112     this.chkAutoScroll.Name = "chkAutoScroll";
113     this.chkAutoScroll.Size = new System.Drawing.Size(163, 20);
114     this.chkAutoScroll.TabIndex = 2;
115     this.chkAutoScroll.Text = "Auto Scroll Ouput";
116     this.chkAutoScroll.UseVisualStyleBackColor = true;
117     this.chkAutoScroll.CheckedChanged += new System.EventHandler(this.chkAutoScroll_CheckedChanged);
118     //
119 william 17 // LogWriter
120     //
121     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
122     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
123     this.Controls.Add(this.txtLog);
124     this.Controls.Add(this.pnl_top);
125     this.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
126     this.Margin = new System.Windows.Forms.Padding(0);
127     this.Name = "LogWriter";
128 william 307 this.Size = new System.Drawing.Size(469, 270);
129 william 303 this.Load += new System.EventHandler(this.LogWriter_Load);
130 william 17 this.pnl_top.ResumeLayout(false);
131     this.pnl_top_flow.ResumeLayout(false);
132     this.pnl_top_flow.PerformLayout();
133     this.ResumeLayout(false);
134    
135     }
136    
137     #endregion
138    
139     private System.Windows.Forms.RichTextBox txtLog;
140     private System.Windows.Forms.Panel pnl_top;
141     private System.Windows.Forms.FlowLayoutPanel pnl_top_flow;
142     private System.Windows.Forms.Button btnClearLog;
143     private System.Windows.Forms.Button btnCopyLogToClipboard;
144     private System.Windows.Forms.ToolTip toolTip1;
145 william 307 private System.Windows.Forms.CheckBox chkAutoScroll;
146 william 17 }
147     }