Accessing forms from different project

  • Thread starter Thread starter Dimsion
  • Start date Start date
D

Dimsion

Hi everyone,

Does anyone know how i can access forms from different project. I have
multiple projects and i was wondering if it would be possible to access
those forms without adding it in it into the project itself.

Thanks!
 
Dimsion,

You could compile the forms you want reuse into a .NET Assembly (.dll or
..exe) and then add the respective assembly as a reference to any project you
wish to use the forms for.

Shaun McDonnell
 
If the project is in the same solution, couldn't you set up a reference to
projectB in projectA, and then access the form like projectB.myForm.Show()
?

Robin S.
--------------------------------------
 
Back
Top