private void TusBas(object sender, KeyEventArgs e) { int h = 0; switch (e.KeyCode) { case Keys.W: h = 1; break; case Keys.S: h = 2; break; case Keys.A: h = 4; break; case Keys.D: h = 3; break; } Draw(g.Hareket(h)); }