title: Alternative to set focus from within the Enter event
body: <p>I have a textbox and in some cases in Enter event I need to set the focus to a different textbox.</p>
  
  <p>I tried that code:</p>
  
  <pre><code> private void TextBox1_Enter(object sender, EventArgs e)
   {
       if(_skipTextBox1) TextBox2.Focus();
   }
  </code></pre>
  
  <p>But this code doesn't work. After that I found on MSDN:</p>
  
  <blockquote>
    <p>Do not attempt to set focus from within the Enter, GotFocus, Leave, LostFocus, Validating, or Validated event handlers.</p>
  </blockquote>
  
  <p>So how can I do it other way?</p>