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

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