MDI Application

G

Guest

Could someone please explain to me like I'm a 14 year old (I am) how to keep track of each instance of an MDI child form, so that I can access the controls contained in each child form from the parent. Thank You! It will be greatly appreciated.
 
A

Andy Gaskell

Sure, use the Form.MdiChildren property returns an array of Forms. To access
the controls of the child forms, you'll need to ensure that the access
modifier on the controls you want the parent form to modify is public. Or
you could expose the controls as public properties.

More info on the MdiChildren property -
http://msdn.microsoft.com/library/d...stemwindowsformsformclassmdichildrentopic.asp


Bill English said:
Could someone please explain to me like I'm a 14 year old (I am) how to
keep track of each instance of an MDI child form, so that I can access the
controls contained in each child form from the parent. Thank You! It will
be greatly appreciated.
 

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