Hello
I have the following program: i made a console application in a windows form, i've put all the code in the MainProgram.cpp (not the Form1.h) and now i would like to do the following (managed to make the application show both the form and the console at the same time)
When i click a button from the form, it should activate a switch - case portion from the MainProgram.cpp, which acts like a menu.
Since i made the console application with a command menu
(Example)
Press the corresponding key:
1. Insert
2. Delete
3. Move
Now i would like to click on a form button called "Insert" that will go do the case operation and despite searching for more than 7 hours, i cannot find anything that would be of any use.
Thank you for your time.