title: IDataErrorInfo in winforms
body: <p>Can IDataError info be used properly in a winforms application? In the past I was doing my binding the usual way(1) and did the validation in the OnValidating event of the particular control. I would like to move the data validation to the domain model so that I can easily swap out user interfaces and so that all of the logic is in one place.</p>
  
  <p>I was looking into IDataErrorInfo but everything I find deals with WPF and the app in development is strictly a winforms app.</p>
  
  <p>I also noticed that the binding that gets used in WPF is in System.Windows.Data and the binding that I've always been using is in System.Windows.Forms (which I don't appear to have when I try to add it as a resource - I'm using 3.5).Aside from the property "ValidatesOnDataErrors" is there a difference between the two?</p>
  
  <p>(1) the usual way being:</p>
  
  <pre><code>myControl.DataBindings.Add(new Binding("Text", this.domainModel, "Property"));
  </code></pre>