Hi All
I have a Form with a panel in it.
I want to move an image according to the cursor position.
I have a mouse over function, but how do i do the calculation right ? since the cursor position is from the monitor and the picturebox is from the panel
Hi All I have a Form with a panel in it. I want to
Share
You can use
Control.PointToClientmethod to convert screen coordinates to the local ones. If you follow the MSDN link there’s a good example that shows how to do that.