0

hi,
i have a mdi form named MDIParent2 in my application and it has many child forms.
child form 1 named frmClient has 3 child forms now i want to call them in MDIParent2.
can any one tell me how to i call sub child & sub - sub child forms in same parent form.

3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by kool.net
0

Upload a sample project demonstrating the behavior you are currently experiencing and how you would like it to work. I'm afraid I don't understand what you are asking.

1

Hello.
I'm not sure if this is what you're looking for, but to get array of child forms, you can use the MdiChildren property, e.g.:

this.MdiChildren[0].BackColor = Color.Black;

//and in same manner for sub - sub child forms
this.MdiChildren[0].MdiChildren[1].BackColor = Color.Black;
0

my problem solved with this code

form info = new frmclientinfo();
info.MDIParent = this.MDIParent;
info.Show();

May be its help anyone in future.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.