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.