/[RomCheater]/trunk/RomCheater/Main.cs
ViewVC logotype

Diff of /trunk/RomCheater/Main.cs

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

--- trunk/RomCheater/Main.cs	2012/05/09 06:28:44	16
+++ trunk/RomCheater/Main.cs	2012/05/09 08:02:18	17
@@ -6,14 +6,26 @@
 using System.Linq;
 using System.Text;
 using System.Windows.Forms;
+using RomCheater.Logging;
 
 namespace RomCheater
 {
     public partial class Main : Form
     {
+        #region LogWriterSupport
+        static LogWriter _LoggerInstance;
+        static LogWriter LoggerInstance
+        {
+            get { return _LoggerInstance; }
+            set { _LoggerInstance = value; }
+        }
+        #endregion
+
+
         public Main()
         {
             InitializeComponent();
+            LoggerInstance = logwriter;
         }
 
         private void mnuItemExit_Click(object sender, EventArgs e)
@@ -25,5 +37,10 @@
         {
             
         }
+
+        private void Main_Load(object sender, EventArgs e)
+        {
+            logger.WriteLine("logged message");
+        }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22