title: Add an OnLeave function to 140 objects?
body: <p>I got a windows form with around 140 numericUpDown elements and want all of them to do this:</p>
  
  <pre><code>private void numericUpDown_B1_RS_LS_Leave(object sender, EventArgs e)
  {
      if (numericUpDown_B1_RS_LS.Value &lt; 1 || numericUpDown_B1_RS_LS.Value &gt; 6)
      {
          numericUpDown_B1_RS_LS.BackColor = Color.Red;
      }
      else
      {
          numericUpDown_B1_RS_LS.BackColor = Color.White;
      }
  }
  </code></pre>
  
  <p>Is there a more comfortable way of doing this than just adding 140 functions to the form manually?</p>