943,910 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 3155
  • C# RSS
Jun 19th, 2009
1

How to completely Exit an application

Expand Post »
I want my exit button on my application to close the app completely plus the process. to work like the close button in the control box.

I have used "this.close()" but that only closes the form.Can someone please assist me.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
mundetas is offline Offline
44 posts
since Jun 2009
Jun 19th, 2009
0

Re: How to completely Exit an application

C# Syntax (Toggle Plain Text)
  1. Application.Exit()

MSDN Doc: http://msdn.microsoft.com/en-us/libr...it(VS.71).aspx
Moderator
Reputation Points: 322
Solved Threads: 28
The C# Man, Myth, Legend
Tekmaven is offline Offline
914 posts
since Feb 2002
Jun 19th, 2009
0

Re: How to completely Exit an application

Thanks I will give it a shot and see what happens
Reputation Points: 10
Solved Threads: 1
Light Poster
mundetas is offline Offline
44 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Relating combo boxes
Next Thread in C# Forum Timeline: Crystal report help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC