> If I have only one main form in my WinForms app, do I also need to
> call Application.Exit() after this.Close() or will just the call to
> Close() suffice?
If you have only one form, you probably are opening that form with
Application.Run(theForm), in the Main() method in Progam.cs. When you do
this, the application terminates when theForm is closed. Therefore, in this
case, you don't need Application.Exit.
Water Cooler v2 - 19 Jan 2008 13:54 GMT
On Jan 19, 1:30 pm, "Alberto Poblacion" <earthling-
quitaestoparacontes...@poblacion.org> wrote:
> > If I have only one main form in my WinForms app, do I also need to
> > call Application.Exit() after this.Close() or will just the call to
[quoted text clipped - 4 lines]
> this, the application terminates when theForm is closed. Therefore, in this
> case, you don't need Application.Exit.
Thanks very much.