Hubert Hermanutz wrote:
Hi,
do in .NET the possibility exists, to obtain a collection of all
instantiated forms?
Can anythink help me?
Thanks in advance,
Hubert
No, you'll need to keep track of them yourself.
I would reccomend creating a TrackedForm class that inherits from Form, has
a Shared/static ArrayList, and adds itself when the constructor is called.
You might want to override Close and remove closed forms.
Then just make all your derived forms inherit from TrackedForm instead of
Form.
- Pete