D
David Gagné
Hello,
My C# solution is composed of 2 projects, a class library project and a
Windows application project. The window in one project calls the DLL in the
other. That's ok.
Now, to better test the solution I would like to create a new Windows
application project in that solution so that my 2 other projects are not
impacted by this third project. Now this new project would contain the
startup Form from which I could open my Form in the previous project or call
the DLL directly.
My problem is that I don't know how to show a form from another project of
the solution since it is possible to add a reference to a project only for
DLLs.
Summary:
SolutionA contains
- Project1 (Form1)
- Project2 (DLL)
- Project3 (Form2)
How can I make Form2 opens Form1?
Thanks,
David.
My C# solution is composed of 2 projects, a class library project and a
Windows application project. The window in one project calls the DLL in the
other. That's ok.
Now, to better test the solution I would like to create a new Windows
application project in that solution so that my 2 other projects are not
impacted by this third project. Now this new project would contain the
startup Form from which I could open my Form in the previous project or call
the DLL directly.
My problem is that I don't know how to show a form from another project of
the solution since it is possible to add a reference to a project only for
DLLs.
Summary:
SolutionA contains
- Project1 (Form1)
- Project2 (DLL)
- Project3 (Form2)
How can I make Form2 opens Form1?
Thanks,
David.