NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Form.MDIChildren

Gets an array of forms that represent the multiple document interface (MDI) child forms that are parented to this form.

[Visual Basic]
Public ReadOnly Property MDIChildren As Form ()
[C#]
public Form[] MDIChildren {get;}
[C++]
public: __property Form* get_MDIChildren();
[JScript]
public function get MDIChildren() : Form[];

Property Value

An array of Form objects, each of which identifies on of this form's MDI child forms.

Remarks

This property allows you to obtain references to all of the MDI child forms currently opened in an MDI parent form. To create an MDI child form, assign the Form that will be the MDI parent form to the MDIParent property of the child form.

You can use this property to loop through all of the MDI child forms to perform operations such as saving data to a database when the MDI parent form closes or to update fields on the child forms based on actions performed in your application.

See Also

Form Class | Form Members | System.WinForms Namespace | IsMDIChild | IsMDIContainer | System.WinFormsMDIParent.Form.MDIParent