title: How to prevent focusing Controls in UserControl
body: <p>I have a <code>User-Control</code> with 2 <code>Textbox</code> and 1 <code>Button</code>, Something like below:</p>
  <p><a href="https://i.stack.imgur.com/F0KG6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F0KG6.png" alt="my UserControl" /></a></p>
  <p>When I press the button a form show and when the form closed I want to leave focus from <code>User-Control</code> and next control on the <code>Form</code> got focus, I write this code for this issue:</p>
  <pre><code>private void Btn_Select_Click(object sender, EventArgs e)
  {
      if (t.ShowDialog() == DialogResult.OK)
          ProcessTabKey(true);
  }
  </code></pre>
  <p>I excepted that next control on the Parent Form got focus BUT the textbox on <code>UserControl</code> got focus, I change the <code>TabStop</code> property to <code>false</code> for 2 <code>textbox</code> but still have the problem.</p>
  <p>Could anyone know how I solve this problem?</p>