Skip to content

Closing a C# ap from a child form

ken kirkpatrick

Asked Jun 15, 2006, 4:56 PM EDT2 answers
Share
LinkedInX
hi! i've been trying to close the whole application from anyform. I've tried this.close(), this.dispose(). these basically close the app... but in the background it is still running... is there a command that closes the application absolutly?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    i solved it! System.Environment.Exit(0);
    0
  • 0
    u can also use Application.Exit(); this will solve ur purpose.
    0