Ending a program

JumpyNET

Centurion
Joined
Apr 4, 2005
Messages
196
How do I end my program from code in C#? I wan't to create the same action which happens when I press the Close button in the top right corner of any window. So Environment.Exit(0); is not OK.
 
Back
Top