title: C# Textbox Focus
body: <p>In a windows form c# application I have two Textbox Control.</p>
  
  <p>I setup tabindex 1 into first control
  I setup tabindex 2 into secondo control</p>
  
  <p>When I press tab in the first control, I need to do some check operation. </p>
  
  <p>I try to intercept the tab key, with this code </p>
  
  <pre><code>control1__KeyPress(...)
  {
     if (e.KeyChar == (char)Keys.Tab)
      {
       ....
      }
  }
  </code></pre>
  
  <p>but the event is not fired. </p>
  
  <p>I try to do it into </p>
  
  <pre><code>control1__KeyDown(...)
  {
  
  }
  </code></pre>
  
  <p>but the event is also not fired. </p>
  
  <p>How I can intercept the tab key before the second control have the focus?</p>
  
  <p>Thanks</p>