Dear All,
I am new in C# and writing my very first program in it( A basic notepad).
Question: How can I access all opened forms (infact MDI child forms) in an MDI application at runtime.
Thanks.
Printable View
Dear All,
I am new in C# and writing my very first program in it( A basic notepad).
Question: How can I access all opened forms (infact MDI child forms) in an MDI application at runtime.
Thanks.
Your MdiParent has a property that gets an array of all of its MdiChildren forms:
http://msdn2.microsoft.com/en-us/lib...en(vs.80).aspx
Thanks nmadd.
But what if I want to access Mdi child forms not fron MdiParent form but from one of the child form...
I will appreciate if you could help.
Every child has an MdiParent property, so this.MdiParent.MdiChildren gets you access to all the child forms from a child form.