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

Diff of /trunk/RomCheater/Main.cs

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

revision 16 by william, Wed May 9 06:28:44 2012 UTC revision 17 by william, Wed May 9 08:02:18 2012 UTC
# Line 6  using System.Drawing; Line 6  using System.Drawing;
6  using System.Linq;  using System.Linq;
7  using System.Text;  using System.Text;
8  using System.Windows.Forms;  using System.Windows.Forms;
9    using RomCheater.Logging;
10    
11  namespace RomCheater  namespace RomCheater
12  {  {
13      public partial class Main : Form      public partial class Main : Form
14      {      {
15            #region LogWriterSupport
16            static LogWriter _LoggerInstance;
17            static LogWriter LoggerInstance
18            {
19                get { return _LoggerInstance; }
20                set { _LoggerInstance = value; }
21            }
22            #endregion
23    
24    
25          public Main()          public Main()
26          {          {
27              InitializeComponent();              InitializeComponent();
28                LoggerInstance = logwriter;
29          }          }
30    
31          private void mnuItemExit_Click(object sender, EventArgs e)          private void mnuItemExit_Click(object sender, EventArgs e)
# Line 25  namespace RomCheater Line 37  namespace RomCheater
37          {          {
38                            
39          }          }
40    
41            private void Main_Load(object sender, EventArgs e)
42            {
43                logger.WriteLine("logged message");
44            }
45      }      }
46  }  }

Legend:
Removed from v.16  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.22