private void ShowForm(Form Indexform) { Form1 form1 = new Form1(); form1 .TopLevel = false; form1 .Parent = Indexform; form1 .BringToFront(); form1.Show(); }