Inheritance: System.Windows.Forms.UserControl, IResizable
Example #1
0
 public new void Hide()
 {
     this.Controls.Clear();
     if(this._panel != null) {
         this._panel.Controls.Clear();
         this._panel = null;
     }
     base.Hide();
     Current = null;
 }
Example #2
0
 public new void Show()
 {
     base.Show();
     if (this.Parent != null)
         this.Size = this.Parent.ClientSize;
     InitializeComponent();
     Invalidate();
     _panel.Invalidate();
     _panel.BringToFront();
     Current = this;
 }