Enabling button when conditions met
<p>I'm building a simple winforms application in c#, which consists of few forms.</p>

<p>One of the forms in my application consists of a few different controls, which must meet certain conditions for the form to be valid, and an accept button.</p>

<p>What I want is for the button to be disabled until all the fields are valid, then enable it when the conditions are met, yet I couldn't find any method to do so...</p>

<p>I've came across <code>OnValidating</code> \ <code>OnValidated</code> but they're only invoke on <code>acceptButton_Click</code>. This of course requires me to enable the button by default, and assign the form's <code>AcceptButton</code> property to it.</p>

<p>I remember wpf have something for this sort of thing (filter?), but I'm not sure such thing exists for winforms.</p>