pnlMain.Controls.Clear();ControlAnalyzer1 CA1 = new ControlAnalyzer1();CA1.TopLevel = false;CA1.Size = pnlMain.Size;pnlMain.Controls.Add(CA1);CA1.Show();