Reputation: 1
I have a big image on pictureedit. Image size x=2027 y=851 and pictureedit size x=1320 y=806. I want find image coordinates used to mouse move, but mouse move return me pictureedit coordinates.
Upvotes: 0
Views: 222
Reputation: 1881
You can use Control.PointToScreen(Point)
and Control.PointToClient(Point)
to switch between the global cordinate system and the local cordinate system.
Upvotes: 1