Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(arrowLabel.Text == a) {arrowLabel.Location = new Point(arrowLabel.Location.X - 1, arrowLabel.Location.Y); positionLabel.Text = "Position : {" + arrowLabel.Location.X.ToString() + ", " + arrowLabel.Location.Y.ToString() + "}";}
- if(arrowLabel.Text == b) {arrowLabel.Location = new Point(arrowLabel.Location.X + 1, arrowLabel.Location.Y); positionLabel.Text = "Position : {" + arrowLabel.Location.X.ToString() + ", " + arrowLabel.Location.Y.ToString() + "}"; }
- if(arrowLabel.Text == c) {arrowLabel.Location = new Point(arrowLabel.Location.X, arrowLabel.Location.Y - 1); positionLabel.Text = "Position : {" + arrowLabel.Location.X.ToString() + ", " + arrowLabel.Location.Y.ToString() + "}"; }
- if(arrowLabel.Text == d) {arrowLabel.Location = new Point(arrowLabel.Location.X, arrowLabel.Location.Y + 1); positionLabel.Text = "Position : {" + arrowLabel.Location.X.ToString() + ", " + arrowLabel.Location.Y.ToString() + "}"; }
Add Comment
Please, Sign In to add comment