priyamtheone
Well-known member
- Joined
- Sep 20, 2007
- Messages
- 96
- Programming Experience
- Beginner
How can I detect the click event of the close (X) button at the top right corner of the control box of a form/window? Please note, I don't want to know about CloseReason, FormClosing, FormClosed or stuffs like these, unless they are inevitable. I exactly want to detect if the user clicked the X button of the form. Thanks.