protected virtual void OnValidationError(ValidationErrorEventArgs e) { ValidationError(this, e); }
//Special event to handle case of no-one connecting to my delegate //avoids a null reference private void DefaultHandler(object sender, ValidationErrorEventArgs e) { mValidationErrors++; }