Solved

Closing a multiple form C# application.

Posted on 2003-11-15
4
925 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Exceptions 3 46
Help with C#, MVC, razor. 6 35
Coding C# in Linux 8 70
Unable to connect C# program to an SQL database - Exception occurs. 4 22
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…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

803 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