Thursday, October 10, 2013

location control in screen

I usually combine PointToScreen and PointToClient:

Point locationOnForm = control.FindForm().PointToClient(
    control.Parent.PointToScreen(control.Location));


No comments:

Post a Comment