0
我有我这样设置WinForms中的Form.IsValid()等效于什么?
errorProvider1.SetError(textBox1, "Error description");
一个ErrorProvider控件一个WinForm我怎么能如果所有的数据是有效的就像你在做ASP.NET作为Form.IsValid()检查?
我必须为每个我验证的控件使用errorProvider1.GetError()吗?有没有更好的办法?
[WinForm UI验证]的可能重复(http://stackoverflow.com/questions/769184/winform-ui-validation) –