Im developing a Windows application (not web-based) using Visual Studio 2008 running under Windows XP Business. Im programming in Visual C#.
My solution (*.sln) file contains 2 projects each of which contain several classes. One of the projects contains the Windows user interface eg. the windows that the project will display.
Lets say the solution file is called bob.sln
And bob.sln contains 2 projects which are;
The UserInterface project contains a form called ResultWindow.cs
The Calculations project contains a file(class) called result.cs
Within result.cs I want to do this;
ResultWindow test = new ResultWindow();
But how do I get access to the ResultWindow form from result.cs?
Can I do this? I think I should be using a "using" statement at the beginning of result.cs so I can access ResultWindow form but Ive had no joy trying this.