R
Ron Rohrssen
I'm trying to use the ErrorProvider in order to validate
my form. This is working well except that in the event of
a failure on my modal dialog, I'd like to keep the dialog
open.
I open the dialog like this:
if (formOptions.ShowDialog(this) == DialogResult.OK)
When the user clicks on "Save" in the form I do the
validation and regardless of success or failure in the
validation the form is hidden.
How, can I override the button click and keep the form
open?
my form. This is working well except that in the event of
a failure on my modal dialog, I'd like to keep the dialog
open.
I open the dialog like this:
if (formOptions.ShowDialog(this) == DialogResult.OK)
When the user clicks on "Save" in the form I do the
validation and regardless of success or failure in the
validation the form is hidden.
How, can I override the button click and keep the form
open?