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 16 by william, Wed May 9 06:28:44 2012 UTC vs.
Revision 23 by william, Wed May 9 08:51:38 2012 UTC

--- trunk/RomCheater/Main.cs	2012/05/09 06:28:44	16
+++ trunk/RomCheater/Main.cs	2012/05/09 08:51:38	23
@@ -6,14 +6,28 @@ using System.Drawing;
 using System.Linq;
 using System.Text;
 using System.Windows.Forms;
+using RomCheater.Logging;
 
 namespace RomCheater
 {
     public partial class Main : Form
     {
+        private const string t = "RomCheater";
+        #region LogWriterSupport
+        static LogWriter _LoggerInstance;
+        static LogWriter LoggerInstance
+        {
+            get { return _LoggerInstance; }
+            set { _LoggerInstance = value; }
+        }
+        #endregion
+
+
         public Main()
         {
             InitializeComponent();
+            LoggerInstance = logwriter;
+            LoggerInstance.CreateNewLog(false);
         }
 
         private void mnuItemExit_Click(object sender, EventArgs e)
@@ -25,5 +39,10 @@ namespace RomCheater
         {
             
         }
+
+        private void Main_Load(object sender, EventArgs e)
+        {
+            //AppConsts.LogApplicationStatup();
+        }
     }
 }