Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Form1_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyCode == Keys.Up)
- {
- point.X = button1.Location.X;
- point.Y = button1.Location.Y - 10;
- button1.Location = point;
- MessageBox.Show("GOGOGOGOGOGO");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement