Marco Zhou

Marco Zhou

  • NA
  • 8
  • 2k

How to rotate an image with a mouse

May 24 2015 11:41 AM
Hello Im trying to create a shooting game with C# WindowsForm, I would like to know how to rotate a picturebox with the mouse, so the picturebox1.Top will always rotate to the Cursor.Position direction, I should probably use a timer and a MouseMove MouseEventArgs, but I totally have no idea of how to start or do this thing. Can someone help me?

Answers (2)