public new void Hide() { this.Controls.Clear(); if(this._panel != null) { this._panel.Controls.Clear(); this._panel = null; } base.Hide(); Current = null; }
public new void Show() { base.Show(); if (this.Parent != null) this.Size = this.Parent.ClientSize; InitializeComponent(); Invalidate(); _panel.Invalidate(); _panel.BringToFront(); Current = this; }