form2 frm = new form2(); frm.Toplevel = false; pnl2.controls.add(frm); frm.show();
frm.TopLevel = false ;
panl2.controls.clear(); form2 frm = new form2(); frm.TopLevel = False; pnl2.controls.add(frm); frm.show();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)