Reputation: 111
How do you open a console application from a "button" on a windows form in another window. Examples would be awesome.
Say this is the code:
namespace something
{
class form1 : form
{
private void buttonPlay_Click(object sender, EventArgs e)
{
//I want whatever it would be to be put right here for this is the button that would be pressed
}
}
class ConsoleApplication
{
public static void Method()
{
console.writeLine("hello World!");
}
}
}
Upvotes: 0
Views: 1196