/[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/11 12:14:10	145
+++ trunk/RomCheater/Main.cs	2012/05/27 22:24:30	146
@@ -14,6 +14,7 @@
 using System.Diagnostics;
 using RomCheater.PluginFramework.Interfaces;
 using WeifenLuo.WinFormsUI.Docking;
+using RomCheater.Docking;
 
 namespace RomCheater
 {
@@ -27,10 +28,7 @@
         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;

 

  ViewVC Help
Powered by ViewVC 1.1.22