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.
priyamtheone 16 Member
Mitja Bonca 557 Nearly a Posting Maven
Momerath 1,327 Nearly a Senior Poster Featured Poster
makdu 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.