create panel in form2..........
clicking event on button in form1
write this code
dim f2 as form2
and add the controls to the panel of form2
form2.panel1.controls.add("")
create panel in form2..........
clicking event on button in form1
write this code
dim f2 as form2
and add the controls to the panel of form2
form2.panel1.controls.add("")