Opening form from another .NET windows project

  • Thread starter Thread starter Vijay
  • Start date Start date
V

Vijay

Hi,

We are planning to design separate C# windows project for each module. We
need to access(open) some forms from other project for better integration.
Since we cannot add the other exe project as refereces to current project,
how can we open the forms from other project?

Thanks,
Vijay
 
Since your gonna have multiple assemblies for each of your modules, I would have implemented each project as a class library and would have created one very simple host, which runs transparently in the background, which when passed an assembly and type name would instantiate the type using reflection and start executing it. This would also solve your problem of not being able to refer exe files for your other assemblies.

HTH, Metallikanz!
 

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