This is homework so for those that dont like looking at someone asking questions about homework dont read this post.
I am to create a console application and a windows form in C#. When I run the console application it suppose to popup a windows form with two buttons on it Pressme and Exit. The part I am having a hard time with is. How do I do this? I think I need to inherit the windows form into the console application.
Help would be great.
You can try following pointers.
1- Create a Blank Solution.
2- Add a Console Project .
3- Add a Windows Forms Project.
4- Add Reference of windows forms project in console project.
5- Say you have Form1 in Windows Forms Project.
6- use following code in main function of Console project.