If you are using an MDI form then you can use the MdiChildren property to return a list of child forms.
http://msdn.microsoft.com/en-us/libr...ichildren.aspx
Otherwise, you will have to keep an array of references to child windows as you open them, and then check the array when you close the parent.
/- Sam Judson : Wrox Technical Editor -/