Hi, I'm making a dialog form with a textbox and 2 buttons: OK and
Cancel.
I want when I click on OK button, the program check the textbox, and if
there is any error in the text introduced there, then it shows a
MessageBox and cancel the click event, so the dialog form won't close.
How can I cancel the click event on a button? I have looked at
"EventArgs e", but it hasnt any property to cancel the vent.
Thank you! :)
Jose.