I’m having a bit of trouble with a form it’s a form designed with the form designer and my project, it closes immediately upon showing. Here’s the relevant code:
namespace Grapher
{
class Program
{
static void Main(string[] args)
{
InputForm mainForm = new InputForm();
mainForm.Show();
}
}
}
I’ve tried to put in a for(;;) but that just makes the for hang, I’m probably doing something silly, very new to C#.
Thanks in advance.
Use
Application.Run():