/[RomCheater]/trunk/RomCheater.Logging/LogWriter.Designer.cs
ViewVC logotype

Annotation of /trunk/RomCheater.Logging/LogWriter.Designer.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (hide annotations) (download)
Mon May 28 04:10:38 2012 UTC (8 years, 9 months ago) by william
File size: 7022 byte(s)
fix LogWriter to ensure that all logged data gets flushed to it's underlying medium

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 17 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     this.txtLog.Size = new System.Drawing.Size(280, 240);
53     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     this.pnl_top.Size = new System.Drawing.Size(280, 30);
65     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     this.pnl_top_flow.Dock = System.Windows.Forms.DockStyle.Fill;
73     this.pnl_top_flow.Location = new System.Drawing.Point(0, 0);
74     this.pnl_top_flow.Margin = new System.Windows.Forms.Padding(0);
75     this.pnl_top_flow.Name = "pnl_top_flow";
76     this.pnl_top_flow.Size = new System.Drawing.Size(276, 26);
77     this.pnl_top_flow.TabIndex = 0;
78     //
79     // btnClearLog
80     //
81     this.btnClearLog.AutoSize = true;
82     this.btnClearLog.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
83     this.btnClearLog.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
84     this.btnClearLog.Location = new System.Drawing.Point(0, 0);
85     this.btnClearLog.Margin = new System.Windows.Forms.Padding(0);
86     this.btnClearLog.Name = "btnClearLog";
87     this.btnClearLog.Size = new System.Drawing.Size(90, 26);
88     this.btnClearLog.TabIndex = 0;
89     this.btnClearLog.Text = "Clear Log";
90     this.btnClearLog.UseVisualStyleBackColor = true;
91     this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
92     //
93     // btnCopyLogToClipboard
94     //
95     this.btnCopyLogToClipboard.AutoSize = true;
96     this.btnCopyLogToClipboard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
97     this.btnCopyLogToClipboard.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
98     this.btnCopyLogToClipboard.Location = new System.Drawing.Point(90, 0);
99     this.btnCopyLogToClipboard.Margin = new System.Windows.Forms.Padding(0);
100     this.btnCopyLogToClipboard.Name = "btnCopyLogToClipboard";
101     this.btnCopyLogToClipboard.Size = new System.Drawing.Size(186, 26);
102     this.btnCopyLogToClipboard.TabIndex = 1;
103     this.btnCopyLogToClipboard.Text = "Copy Log to Clipboard";
104     this.btnCopyLogToClipboard.UseVisualStyleBackColor = true;
105     this.btnCopyLogToClipboard.Click += new System.EventHandler(this.btnCopyLogToClipboard_Click);
106     //
107 william 105 // autoscroll_timer
108     //
109     this.autoscroll_timer.Interval = 1000;
110     this.autoscroll_timer.Tick += new System.EventHandler(this.autoscroll_timer_Tick);
111     //
112 william 17 // LogWriter
113     //
114     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
115     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
116     this.Controls.Add(this.txtLog);
117     this.Controls.Add(this.pnl_top);
118     this.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
119     this.Margin = new System.Windows.Forms.Padding(0);
120     this.Name = "LogWriter";
121     this.Size = new System.Drawing.Size(280, 270);
122     this.pnl_top.ResumeLayout(false);
123     this.pnl_top_flow.ResumeLayout(false);
124     this.pnl_top_flow.PerformLayout();
125     this.ResumeLayout(false);
126    
127     }
128    
129     #endregion
130    
131     private System.Windows.Forms.RichTextBox txtLog;
132     private System.Windows.Forms.Panel pnl_top;
133     private System.Windows.Forms.FlowLayoutPanel pnl_top_flow;
134     private System.Windows.Forms.Button btnClearLog;
135     private System.Windows.Forms.Button btnCopyLogToClipboard;
136     private System.Windows.Forms.ToolTip toolTip1;
137 william 105 private System.Windows.Forms.Timer autoscroll_timer;
138 william 17 }
139     }

  ViewVC Help
Powered by ViewVC 1.1.22