/[RomCheater]/trunk/RomCheater.PluginFramework/Core/UserControlPlugin.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Core/UserControlPlugin.cs

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

--- trunk/RomCheater.PluginFramework/Core/UserControlPlugin.cs	2014/09/17 04:59:00	890
+++ trunk/RomCheater.PluginFramework/Core/UserControlPlugin.cs	2014/09/17 05:14:20	891
@@ -42,5 +42,14 @@
         public abstract DockContentHandler DockHandler { get; set; }
         public IDockContent DockContent { get { return DockHandler.Content; } }
         public string IDockContentTypeName { get { return DockContent.GetType().FullName; } }
+
+
+        public void SetIcon(System.Drawing.Icon icon)
+        {
+            if (DockContent != null)
+            {
+                DockContent.DockIcon = icon;
+            }
+        }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22