How can I make parent & child form there in vb.net? I guess to make a parent form I have to activate IsMdiContainer from form`s properties. But how should I make child form? Please help me.

Hi,

Add a Form1 and set this formproperty: IsMdiContainer property to True.
Add a Form2 and and use this code:

Dim frm2 As New Form2
frm2.MdiParent = Me
frm2.Show()

Where do I put this code , in form1 or in form2
What is the event that put him in it

Hi,

You can use this code in a buttonclick event in the parentform.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.