Collect all open Windows.Forms and close them

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Volker Jobst

    Collect all open Windows.Forms and close them

    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


Working...