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

Diff of /trunk/RomCheater.Logging/LogWriter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.Logging/LogWriter.cs	2012/06/05 13:46:05	306
+++ trunk/RomCheater.Logging/LogWriter.cs	2012/06/05 13:49:07	307
@@ -43,6 +43,8 @@
             //sw = new StreamWriter(ms);
             //sw.AutoFlush = true;
             //sr = new StreamReader(ms);
+
+                chkAutoScroll.Checked = this.AutoScroll;
         }
         private LogStream _Log;
         public LogStream Log { get { return _Log; } private set { _Log = value; } }
@@ -341,6 +343,11 @@
             txtLog.SelectionStart = 0;
             txtLog.ScrollToCaret();
         }
+
+        private void chkAutoScroll_CheckedChanged(object sender, EventArgs e)
+        {
+            this.AutoScroll = chkAutoScroll.Checked;
+        }
     }
 }
  
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22