title: How can I allow ctrl+a with TextBox in winform?
body: <p>I'm asking the question already asked (and even answered) here:
  <a href="https://stackoverflow.com/questions/5885739/why-are-some-textboxes-not-accepting-control-a-shortcut-to-select-all-by-defau">Why are some textboxes not accepting Control + A shortcut to select all by default</a></p>
  
  <p>But that answer doesn't work for me. I have this code:</p>
  
  <pre><code>public class LoginForm : Form
  {
      private TextBox tbUsername;
  
      public LoginForm()
      {
          tbUsername = new TextBox();
          tbUsername.ShortcutsEnabled = true;
          tbUsername.Multiline = false;
          Controls.Add(tbUsername);
      }
  }
  </code></pre>
  
  <p>The textbox shows up, I can write on it, I can cut, copy and paste text on it without any problems.
  But when I try to press <kbd>Ctrl</kbd>+<kbd>A</kbd> I only hear a "bling" similar to the bling that you hear if you try to erase text from an empty textbox (try it with your browser's address bar).</p>