/[RomCheater]/trunk/RomCheater.ScratchPad/ScratchPadPlugin.cs
ViewVC logotype

Diff of /trunk/RomCheater.ScratchPad/ScratchPadPlugin.cs

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

--- trunk/RomCheater.ScratchPad/ScratchPadPlugin.cs	2013/06/20 20:25:55	762
+++ trunk/RomCheater.ScratchPad/ScratchPadPlugin.cs	2014/09/17 05:56:41	892
@@ -19,6 +19,7 @@
 using System.Text;
 using RomCheater.PluginFramework.Core;
 using WeifenLuo.WinFormsUI.Docking;
+using Enterprise.Logging;
 
 namespace RomCheater.ScratchPad
 {
@@ -53,7 +54,7 @@
 
         public override void Config()
         {
-            Logging.logger.Warn.WriteLine("Plugin: '{0}' guid: '{1}' - has no configurable settings", name, ID);
+            gLog.Warn.WriteLine("Plugin: '{0}' guid: '{1}' - has no configurable settings", name, ID);
         }
 
         public override void Show() { Show(null); }
@@ -67,7 +68,7 @@
                 t.Show();
             }
             else
-            {
+            {                
                 t.Show(dockPanel, dockState);
             }
 #else
@@ -94,6 +95,7 @@
                 if (t == null || t.DockHandler == null) return null;
                 return t.DockHandler;
             }
+            set { t.DockHandler = value; }
         }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22