//TopLevel for form is set to false childForm.TopLevel = false; //Added new TabPage TabPage tbp =new TabPage(); tabControl1.TabPages.Add(tbp); tbp.Controls.Add(childForm); //Added form to tabpage childForm.WindowState = FormWindowState.Maximized; childForm.Show();
TopLevel
Panel
TabPage
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)