By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,335 Members | 1,385 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,335 IT Pros & Developers. It's quick & easy.

Closing a Windows Form application

P: n/a
I have written a sample game but when I try and exit the program with
the
Close()
and Application.Exit() command, the form closes, but it is still in
the program list via the Win 2000 Task Manager.

How do you close and exit a program in C#?

I do have a timer on the form but it is disabled before it gets to the
close commnd.

Thanks
Dan
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Dan,

Do you have a worker thread?

Normally all you have to do to exit a win app is call the Close() method in
the main form. I have seen others post in the past complaining of the same,
what is your structure of forms? do you have several forms or only one ?

Maybe a search in google will give you some more light.
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Dan Johnson" <da*******@att.net> wrote in message
news:42**************************@posting.google.c om...
I have written a sample game but when I try and exit the program with
the
Close()
and Application.Exit() command, the form closes, but it is still in
the program list via the Win 2000 Task Manager.

How do you close and exit a program in C#?

I do have a timer on the form but it is disabled before it gets to the
close commnd.

Thanks
Dan

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.