MDI Childs in VS2005 Pro?

G

Guest

Hello,
I created a Windows Application Project and tried to create a MDI-based
application. So I created a new MDI-parent with the creation wizzard. Then I
created a default form and tried to make it a MDI-child of the parent I just
created, but I didn't find an entry in the properties dialog which would the
form make a MDI-child.

Can someone explain to me how to add MDI-childs?

greetings

Florian
 
N

Nicholas Paldino [.NET/C# MVP]

Florian,

This is something you have to do in code in response to an action. You
have to create an instance of your child, and then set the MdiParent
property to the form instance which is the parent. Then, when you call Show
on the child form, it will show as an MDI child.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top