/[RomCheater]/trunk/RomCheater/Docking/FloatingUserControlDock.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingUserControlDock.cs

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

--- trunk/RomCheater/Docking/FloatingUserControlDock.cs	2013/05/28 18:39:39	439
+++ trunk/RomCheater/Docking/FloatingUserControlDock.cs	2013/05/28 19:10:10	440
@@ -13,13 +13,24 @@
 {
     public partial class FloatingUserControlDock : DockContent
     {
+        private List<IUserControlPlugin> userplugins;
         public FloatingUserControlDock()
         {
             InitializeComponent();
+            userplugins = new List<IUserControlPlugin>();
         }
 
         public FloatingUserControlDock(List<IUserControlPlugin> plugins) : this()
         {
+            this.userplugins = plugins;
+        }
+
+        private void FloatingUserControlDock_Shown(object sender, EventArgs e)
+        {
+            foreach (var plugin in userplugins)
+            {
+                plugin.Show(this.dpanel);
+            }
         }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22