Skip to main content

How do I create a child form in VB.NET?

STEP 1: CREATE A SIMPLE FORM












Image result for vb form creation 

STEP 2: IF YOU HAVE AN MDI CONTAINER PARENT FORM THEN YOU CAN SIMPLY MAKE THIS FORM AS THE PARENT OF FORM YOU HAVE PREVIOUSLY ADDED.

THE CODE is 

'IF Child form of name Form1 then

in Form load event you have to write the following code

Form1.mdiparent=mdiformname

if you have no mdi container you can make another form called Form2 and
make the Form1 as child of Form2

as ..

Form1.parent=Form2


asked on Quora

Comments