title: Change background color when clicked textbox in C#
body: <p>I like for the textbox to change the background when the textbox has focus (if clicked with a mouse, tabbed into, etc).</p>
  
  <p>I don't like the textchange method since it won't change until one character has been added.</p>
  
  <pre><code>private void txtFoo_OnGotFocus(object sender, EventArgs e)
      {
          txtFoo.BackColor = Color.LightYellow;
          txtBar.BackColor = Color.White;
      }
  </code></pre>
  
  <p>This doesn't seem to work for me.  What am I doing wrong?</p>