I have a WinForm with an ErrorProvider which I set like this
errorProvider1.SetError(textBox1, "Error description");
How can I check if all the data is valid like you do in ASP.NET as Form.IsValid()?
Do I have to use errorProvider1.GetError() for every control that I validate? Is there a better way?