ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Main.cs
(Generate patch)

Comparing trunk/RomCheater/Main.cs (file contents):
Revision 13 by william, Wed May 9 06:15:28 2012 UTC vs.
Revision 17 by william, Wed May 9 08:02:18 2012 UTC

--- trunk/RomCheater/Main.cs	2012/05/09 06:15:28	13
+++ trunk/RomCheater/Main.cs	2012/05/09 08:02:18	17
@@ -6,14 +6,41 @@ using System.Drawing;
 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)
+        {
+            this.Close();
+        }
+
+        private void btnCopyLogToClipboard_Click(object sender, EventArgs e)
+        {
+            
+        }
+
+        private void Main_Load(object sender, EventArgs e)
+        {
+            logger.WriteLine("logged message");
         }
     }
 }