.net - Form closing immediately after show in C# -


I'm having trouble with a form, this form is a design and a form designed with my project, it's immediately Here is the corresponding code on showing:

  Namespace Gaffer {class program {static zero main (string [] args) {InputForm mainForm = new InputForm (); MainForm.Show (); I have tried to put one for (;;) but it does just for hanging, I'm probably doing something silly, very new to C #.  

Use: / P>

  Namespace gafer {class program {static zero main (string [] ARG) {application.Run (new input format); }}}    

Comments