How can i detect if a user has used the close button (X in the upper right area of the form near the minimize and maximize) to close the form...
reason being:
I have my main form hidden to display a splash and login screen.. but if the user hits the X it will show the main form...
I want the application to end if the user hits the X.
any suggestions?
Thanks in advance,
Anjari
