C# Windows Form Project and Form

  • Thread starter Thread starter Jason Huang
  • Start date Start date
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
 
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.
 
Back
Top