title: Key press events in C# -- Moving a PictureBox
body: <p>I am attempting to move a PictureBox(picUser) up and down via the key press events. I am newer to C# and am able to do this via VB. As such I am confused as to what the problem is with the following code:</p>
  
  <pre><code>    private void picUser_keyDown(object sender, System.Windows.Forms.KeyEventArgs e)
      {
          if (e.KeyCode == Keys.W)
          {
              picUser.Top -= 10;
          }
      }
  </code></pre>
  
  <p>There is no "error" with the code, the picturebox just doesn't move.</p>