[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Closing a multiple form C# application.

Posted on 2003-11-15
4
Medium Priority
?
932 Views
Last Modified: 2008-02-26
I'm new to C#, I need to know how to close a program with more than one form. I know how to close the forms themselves but the application keeps running in the task manager's processes section. Could you help me out?
0
Comment
Question by:Miatchguy
2 Comments
 
LVL 5

Accepted Solution

by:
tgannetts earned 75 total points
ID: 9760319
0
 
LVL 1

Assisted Solution

by:dclaydon
dclaydon earned 75 total points
ID: 9761341
This command will exit the program

Application.Exit();

DC
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question