hi
when i trigger the mouseClick event on a control within a tableLayoutPanel i get the location of the mouse within the cell. how do i convert that location in respect to the tableLayoutPanel?
hi when i trigger the mouseClick event on a control within a tableLayoutPanel i
Share
Pass the mouse location to tableLayoutPanel.PointToClient() method.
For more details see http://msdn.microsoft.com/en-us/library/system.windows.forms.control.pointtoclient.aspx