G
Guest
How do I reference a WinForm file (i.e. Class) in Project B from a WinForm
file in Project A?
I've previously used
Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NET
http://www.c-sharpcorner.com/2/pr12.asp
to create a dll reference for Project A but how do you reference a form in
one project to another form in another project?
**************
using Project B
Project_A_ CTR()
{
Form1 form1= new Form1(); //Project B Class
}
Projects A and B appear in the respective Add Reference -- Projects window
file in Project A?
I've previously used
Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NET
http://www.c-sharpcorner.com/2/pr12.asp
to create a dll reference for Project A but how do you reference a form in
one project to another form in another project?
**************
using Project B
Project_A_ CTR()
{
Form1 form1= new Form1(); //Project B Class
}
Projects A and B appear in the respective Add Reference -- Projects window