Collect all open Windows.Forms and close them

V

Volker Jobst

Hi,

I'm writing an application which should be able to close all open forms
except the main one. Thisfore I'm collecting all forms in an arraylist
before I show them, but I don't want to do that because that's a lot of work
and I'm not allowed to miss one call.

So, my question is: Is there something like a "container" or list which
contains all controls I can step through and find out all open forms?

thanks,
volker jobst
 

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