C# Windows Form Project and Form

J

Jason Huang

Hi,

I have two C# Projects Project1.sln and Project2.sln.
Project1 and Project2 has different namingspace.
Project2 has some Windows Form frmP21, frmP22 and frmP23.
Now I want to add frmP21, frmP22 and frmP23 into Project1.
What do I need to do?

Jason
 
N

Nicholas Paldino [.NET/C# MVP]

Jason,

You just need to add a reference to the dll output by the other project,
and then you can use those forms (although you will have to use a using
statement at the top if you want to use the shorthand names for them).

Hope this helps.
 

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

Top