Hello, is there a way to do some actions if the Red Exit button (top right corner of screen with the text X) was clicked. I want to do some actions if the user trys to close the program, because for my login form i cant have them exiting it then the program kind of corrupts.