Home > other >  a dot net framework windows forms app not exiting using `Close();` or other functions
a dot net framework windows forms app not exiting using `Close();` or other functions

Time:10-02

So i want to close the app without the X button but it doesn't work i tried

Close();
Enviroment.Exit(0);
Application.Exit();
Application.ExitThread();

but none of them work.

CodePudding user response:

It isn't running. and it was in the wrong function.

  • Related