private void handleKeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Up) { leftPaddle.SetVelocity(new PointF(0, -200)); } else if (e.KeyCode == Keys.Down) { leftPaddle.SetVelocity(new PointF(0, 200)); } }