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 145 by william, Fri May 11 12:11:40 2012 UTC vs.
Revision 146 by william, Sun May 27 22:24:30 2012 UTC

--- trunk/RomCheater/Main.cs	2012/05/11 12:14:10	145
+++ trunk/RomCheater/Main.cs	2012/05/27 22:24:30	146
@@ -14,6 +14,7 @@ using RomCheater.PluginFramework.Core;
 using System.Diagnostics;
 using RomCheater.PluginFramework.Interfaces;
 using WeifenLuo.WinFormsUI.Docking;
+using RomCheater.Docking;
 
 namespace RomCheater
 {
@@ -27,10 +28,7 @@ namespace RomCheater
         IConfigPlugin ConfigPlugin = null;
         IInputPlugin InputPlugin = null;
         IWindowPlugin WindowPlugin = null;
-        static Main()
-        {
-            SettingSubscriber.AddSubscriber(Settings.Default);
-        }
+        static Main() { SettingSubscriber.AddSubscriber(new Main(), Settings.Default); }
         private const string t = "RomCheater";
         #region LogWriterSupport
         static LogWriter _LoggerInstance;