Hack Forums
[.NET] How do i load another form into a panel? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] How do i load another form into a panel? (/showthread.php?tid=5857201)



How do i load another form into a panel? - VENI - Jul 2, 2018

Hello everyone as the topic says how do i do it in VB.


RE: How do i load another form into a panel? - LordCoder - Jul 4, 2018

Use MDI forms.

Take a look: https://tekeye.uk/computing/what-is-mdi-form


RE: How do i load another form into a panel? - Earn - Jul 4, 2018

Forms & Panels are both parent containers, so you can just put the controls you would have into your panel & show or hide the panel depending on your needs. Hiding a panel hides all the controls in it by the way.


RE: How do i load another form into a panel? - Minto - Jul 8, 2018

I don't think you are able too, but, you can make a custom control and add controls in that custom control, then paste that custom control into a panel, then destroy it when not used because if you don't, you're just wasting resources and memory.