Preferred method of terminating an application?

  • Thread starter Thread starter Lew Barnesson
  • Start date Start date
L

Lew Barnesson

Hi all,

What is the best way to terminate a Windows Forms app using .Net 2.0?

Any comments appreciated.

- Lew
 
Lew Barnesson said:
What is the best way to terminate a Windows Forms app using .Net 2.0?

Call the main form's 'Close' method after you have done this for the other
open forms.
 
And End statement when you need instant termination without further events.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top