/[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

revision 439 by william, Tue May 28 18:39:39 2013 UTC revision 440 by william, Tue May 28 19:10:10 2013 UTC
# Line 13  namespace RomCheater.Docking Line 13  namespace RomCheater.Docking
13  {  {
14      public partial class FloatingUserControlDock : DockContent      public partial class FloatingUserControlDock : DockContent
15      {      {
16            private List<IUserControlPlugin> userplugins;
17          public FloatingUserControlDock()          public FloatingUserControlDock()
18          {          {
19              InitializeComponent();              InitializeComponent();
20                userplugins = new List<IUserControlPlugin>();
21          }          }
22    
23          public FloatingUserControlDock(List<IUserControlPlugin> plugins) : this()          public FloatingUserControlDock(List<IUserControlPlugin> plugins) : this()
24          {          {
25                this.userplugins = plugins;
26            }
27    
28            private void FloatingUserControlDock_Shown(object sender, EventArgs e)
29            {
30                foreach (var plugin in userplugins)
31                {
32                    plugin.Show(this.dpanel);
33                }
34          }          }
35      }      }
36  }  }

Legend:
Removed from v.439  
changed lines
  Added in v.440

  ViewVC Help
Powered by ViewVC 1.1.22