title: How to set focus to a control in a Windows Forms application?
body: <p>In a Windows Forms application, <strong>when</strong> do I write the code to set the focus to a control both while the application is launched and subsequently after I call a function?</p>
  
  <p>For instance, if I have a DropDownList, a TextBox and four buttons and I want the Focus to be set to the DropDownList, <strong>where</strong> do I write my code?</p>
  
  <p>To set the focus to a particular control on application launch, I can set the tab index to that DropDown (with a minimum value, under the assumption TabStop property is set to True).</p>
  
  <p>Now, if the user completes an operation (say, any of the Click Button Events) and then I update the DropDown and after that if I want to set the focus...I can do it as</p>
  
  <pre><code>MyDropDownList.Focus()
  </code></pre>
  
  <p><strong>QUESTION</strong></p>
  
  <p>NB: The question is <em>more</em> about <strong>where</strong>, not <strong>how</strong>?</p>