0
如何從另一窗口中的窗體窗體上的「按鈕」打開控制檯應用程序。例子會很棒。你如何打開控制檯應用程序?
說這是代碼:
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!");
}
}
}