title: how to get focus in System.Windows.Forms.TextBox powershell?
body: <p>I've made a window form using powershell.</p>
  
  <p>I've a textbox and i would like to focus.</p>
  
  <p>How to do add a focus to TextBox and make it easier to use ?</p>
  
  <p>here my code</p>
  
  <pre><code>...
  
      # TextBox
      $textbox = New-Object System.Windows.Forms.TextBox
      $textbox.AutoSize = $true
      $textbox.Location = New-Object System.Drawing.Point(150,125)
      $textbox.Name = 'textbox_sw'
      $textbox.Size = New-Object System.Drawing.Size(220,20)
      $textbox.Text = "Nom de la clef USB ici"
      #$textbox.Focused
  
  ...
  </code></pre>