My current situation now, is that I have two Projects under one Solution. E.g.
Solution 'Project' (2 Projects)
+- Project 1 (Windows Form)
+- Project 2 (Console App)
Project 1 is of course, the main GUI.
I would like to know, what criteria must I satisfy before I can insert the following code in a button in Project 1
Project2 p2 = new Project2(); p2.ShowDialog(); this.Hide();
Is it even possible?
What I've done: I have made a reference to Project 2 in Project 1.