I have panel and picturebox inside. Picturebox in centerImage SizeMode, and if image too small for one side, i have empty space between centered image and panel corner. I need to get PointToClient of this image, im using code below, but PointToClient ignore empty space and show me x\y out of real image but as point of picturebox. And its looks correct, but is there any way to get real point of image? Screenshot, red point = where im clickin, and point is below: https://i.stack.imgur.com/12uTc.png
Point point = picturebox.PointToClient(Cursor.Position);
And if its not posible, is there any way to resize picturebox with auto-centering on panel (like picture centering on picturebox)