Tuesday, 20 August 2013

Windows form have a messagebox display when x-ing out of form?

Windows form have a messagebox display when x-ing out of form?

I'm wondering if there is any way to set up a windows form so that when
the user clicks the red X button, instead of closing the form it will
display a message box along the lines of "Are you sure you want to quit?"
Is there a certian event in Windows form or some other work around I'd
need to do?

No comments:

Post a Comment