No, there is nothing to do that directly.
You could look at each form's GetType().Assembly to decide which assembly it
came from and deal with it differently...
--
Browse
http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/ Microsoft MVP, Visual Developer - Visual C#
[quoted text, click to view] "Gregory Gadow" wrote:
> I have a dll which encapsulates various Crystal Reports functions. When
> activiated, the dll presents an interface where the user can select a
> report, enter in data filtering criteria specific to the selected
> report, then display the report. So far, so good.
>
> When the user closes the interface I want all forms opened by the dll to
> close also. Application.OpenForms contains all of the open forms in the
> application and not just the applications in the dll. Is there a system
> managed object which references JUST the forms opened by a dll?
>
> I can create and manage such a list manually, but I'd rather not
> reinvent the wheel if I don't have to.
> --
> Gregory Gadow
> techbear@serv.net
>
>