please help me ...
How to get Current position of a control on Win Form
204516-Dec-2013
Am trying very hard but not find any method to get the location(x,y) of the control like picturebox on the form.
Home / DeveloperSection / Forums / How to get Current position of a control on Win Form
Pravesh Singh
16-Dec-2013you can just use picturebox1.Left as you X and picturebox1.Top as your Y or
you can combine PointToScreen and PointToClient:
Point locationOnForm = control.FindForm().PointToClient(
control.Parent.PointToScreen(picturebox1.Location));