C
CJ Taylor
Another quesiton,
I have a form, with a control on it that has a handler for control.validated
event.
Now, if that control has focus, and I click the close button the validation
event fires..
So I think to myself, how to tell this, so I add a private property on the
form called IsClosing, which is set by the Form.Closing event...
However, validated seems to fire before the closing event, negating the
whole purpose... anyone have a workaround/solution to this?
Thanks,
CJ
I have a form, with a control on it that has a handler for control.validated
event.
Now, if that control has focus, and I click the close button the validation
event fires..
So I think to myself, how to tell this, so I add a private property on the
form called IsClosing, which is set by the Form.Closing event...
However, validated seems to fire before the closing event, negating the
whole purpose... anyone have a workaround/solution to this?
Thanks,
CJ