x


Windows Application

Hello,

If i want to close my windows application, how can i simply close the window by code?

Thanks, Guys

more ▼

asked Mar 03 '11 at 12:33 PM

ZsurzsaLaszlo gravatar image

ZsurzsaLaszlo
46 5 5 6

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

See Application.

Application.Quit();
more ▼

answered Mar 03 '11 at 12:39 PM

Statement gravatar image

Statement ♦♦
20.1k 35 70 175

(comments are locked)
10|3000 characters needed characters left

Take a look at the reference: Application.Quit

more ▼

answered Mar 03 '11 at 12:39 PM

efge gravatar image

efge
5.1k 5 14 38

One second too late :-)

Mar 03 '11 at 12:44 PM efge

Thank you very much.

Mar 03 '11 at 01:15 PM ZsurzsaLaszlo

Hehe, maybe we need a mutex here :)

Mar 03 '11 at 01:17 PM Statement ♦♦
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5098
x3698
x261

asked: Mar 03 '11 at 12:33 PM

Seen: 646 times

Last Updated: Mar 03 '11 at 12:33 PM