Setting CausesValidation in a UserControl
Try this out:
Create a UserControl. Drag a button onto it. Set the button's CausesValidation property = False.
Create a Form. Drag the UserControl you just created onto this Form.
Build this form as a dll.
Create another Form. Inherited from the first form. Drag a textbox onto this inherited form.
Put a breakpoint in the textbox's validating event handler.
Run
Click on the textbox, then click on the button. Why does the textboxes validating event fire? It should not as the button's CausesValidation property is set to False.
It looks like the UserControls child controls' .CausesValidation properties are ignored & whatever's set at the UserControl level controls is used.