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