N
nico
In a winform, I have a cancel button. When clicking on it,
I want the form to close without raising validation
events. So I'm calling this.close() in the click event;
I have set the CausesValidation property to false for the
button and for the form itself, but the validating events
are raised when calling this.close(). How can I avoid
that ??
Thanks for help !!
I want the form to close without raising validation
events. So I'm calling this.close() in the click event;
I have set the CausesValidation property to false for the
button and for the form itself, but the validating events
are raised when calling this.close(). How can I avoid
that ??
Thanks for help !!