private void Form2_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Up) { picturebox1.Location = new Point(100, 100); } }
picturebox1
Form.ProcessKeyCmd
Form.KeyPreview
true
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)