I have problems with the form created in the form with the form designer and my project, it immediately closes when displayed. Here is the relevant code:
namespace Grapher
{
class Program
{
static void Main(string[] args)
{
InputForm mainForm = new InputForm();
mainForm.Show();
}
}
}
I tried to insert for (;;), but it just makes it hang, I probably do something stupid, very new for C #.
Thanks in advance.
source
share