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

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

Back
Top