Hi,
When the close button is pressed on a form (X in the upper right hand corner), any necessary validation occurs first. However, I do not want any validation to occur when exiting that way. How can I turn it off?
I've tried setting the form's causesvalidation property to false, but that has no effect and validation continues to occur.
I know I can place this code to turn off validation: AutoValidate = AutoValidate.Disable, but don't know where to put this code. By the time the code reaches the FormClosing event, it has already validated so it's useless to put it there.
Thanks in advance!