private void Form1_KeyDown(object sender, KeyEventArgs e) { game.MoveFigure(e.KeyCode); pictureBox1.Refresh(); }