MDI Forms - Child Forms

V

VIKKI

hi I want to know different types way for calling child forms in a
particular project.....I'm new to C# language and I'm not able to add
child form in my project so plz anyone can tell me how to work wid
child forms and mdi forms.......
 
N

Nicholas Paldino [.NET/C# MVP]

VIKKI,

MDI child forms are the same as regular forms. In order to make a
regular form an MDI child, all you have to do is set the MdiParent property
on the child form to the parent form. When you show it, it will show the
form as a child of the parent form.
 
E

Egghead

Beside that, you need to set the parent form's Ismdicontainer property to
true.

--
cheers,
RL
Nicholas Paldino said:
VIKKI,

MDI child forms are the same as regular forms. In order to make a
regular form an MDI child, all you have to do is set the MdiParent
property on the child form to the parent form. When you show it, it will
show the form as a child of the parent form.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

VIKKI said:
hi I want to know different types way for calling child forms in a
particular project.....I'm new to C# language and I'm not able to add
child form in my project so plz anyone can tell me how to work wid
child forms and mdi forms.......
 
N

Nicholas Paldino [.NET/C# MVP]

True, I assumed the original poster already had done that, considering
she was only asking about child forms.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Egghead said:
Beside that, you need to set the parent form's Ismdicontainer property to
true.

--
cheers,
RL
Nicholas Paldino said:
VIKKI,

MDI child forms are the same as regular forms. In order to make a
regular form an MDI child, all you have to do is set the MdiParent
property on the child form to the parent form. When you show it, it will
show the form as a child of the parent form.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

VIKKI said:
hi I want to know different types way for calling child forms in a
particular project.....I'm new to C# language and I'm not able to add
child form in my project so plz anyone can tell me how to work wid
child forms and mdi forms.......
 
V

VIKKI

Thnx Nicholas & Egghead for replying
But I'm still not able to make it...
I have already set ismdi property to true and now I'm not able to add
a child form to it
I have added another normal window form and now I'm not getting any
mdiparent property on the child form...
I'm using Microsoft Dot Net 2003 platform
Plz Advise me...
 

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