I would like to use the built-in Validation framework in my VB.NET Windows Forms application.
In a form I need to validate a specific control in the form. This I can easily obtain by manually calling ValidateChildren() when needed. However I also need to do a form wide validation not specific to any control.
I tried to do this by calling Me.Validate() (for the form) and handle the Me.Validating event. However when calling Me.Validate() the event is not fired for some reason.
I have CauseValidation = True set for the form and all controls.
How can I obtain what I want using the built-in validation framework?