Monday, May 21, 2018

How To Terminate or Exit Program in C#

When your application opens another form and you want that the user can terminate the program without going back to the main form, this 1-line code will help you.


Application.Exit();

No comments:

Post a Comment