G
Greg
We handle the Validating event for textboxes that are contained in a
GroupBox, which is contained in a TabControl which is contained in a Form.
If Validation on the textbox fails, we do this:
e.Cancel = True
Now, when we click "X' in the upper right corner, the form closes. We
checked the forms closing event, and now e.Cancel = False.
Why is e.Cancel = False on the Form close?
GroupBox, which is contained in a TabControl which is contained in a Form.
If Validation on the textbox fails, we do this:
e.Cancel = True
Now, when we click "X' in the upper right corner, the form closes. We
checked the forms closing event, and now e.Cancel = False.
Why is e.Cancel = False on the Form close?