List of Exercises

Display Form Inside of Panel C#

	
public partial class Form1 : Form
  {
    public Form1()
    {
      InitializeComponent();
    }

    private void button1_Click(object sender, EventArgs e)
    {
      Form2 f2 = new Form2();
      f2.TopLevel = false;
      if (splitContainer1.Panel2.Controls.Count > 0)
        splitContainer1.Panel2.Controls.Clear();
      splitContainer1.Panel2.Controls.Add(f2);
      f2.BringToFront();
      f2.Show();
    }
  }
	


Download the project of Visual Studio 2013 in DropBox Download


Display Form Inside of Panel C# | Show Form Inside Another Form


Video Thumbnail