Stop the form from closing on close button click?

Posted by Adam Witko on Stack Overflow See other posts from Stack Overflow or by Adam Witko
Published on 2010-05-19T12:09:01Z Indexed on 2010/05/19 12:10 UTC
Read the original article Hit count: 122

Filed under:
|

Hi,

If I have a close button on a form, and I want them to be able to click it but affectively act as a 'Hide' button, how can this be easily done? Is there no way to abort the formclosing event from executing fully?

Cheers

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms