Example #1
0
 public void AddChild(IPanel panel)
 {
     lock (_syncroot) {
         panel.Blur();
         panel.Hide();
         panel.Parent        = this as IPanelHost;
         panel.Environment   = this as IEnvironment;
         panel.PanelChanged += OnPanelChanged;
         _panels.Add(panel);
         panel.Invalidate();
     }
 }