1 private void ShowForm(Form Indexform) 2 { 3 Form1 form1 = new Form1(); 4 form1 .TopLevel = false; 5 form1 .Parent = Indexform; 6 form1 .BringToFront(); 7 form1.Show(); 8 }
1 private void ShowForm(Form Indexform) 2 { 3 Form1 form1 = new Form1(); 4 form1 .TopLevel = false; 5 form1 .Parent = Indexform; 6 form1 .BringToFront(); 7 form1.Show(); 8 }
转载于:https://www.cnblogs.com/lili9696189/p/10450461.html