Forms in a dll

  • Thread starter Thread starter Gregory Gadow
  • Start date Start date
G

Gregory Gadow

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.
 
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...
 
Back
Top