Solved

Closing a multiple form C# application.

Posted on 2003-11-15
4
924 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
4 Comments
 
LVL 5

Accepted Solution

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

Assisted Solution

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

Application.Exit();

DC
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
scanning dentists xray (the small ones) 3 45
Replace &lt; with < 14 57
Server Error 11 48
VB.NET (2008) - Refactoring Question 2 0
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now