hi when i trigger the mouseClick event on a control within a tableLayoutPanel i get the location of the mouse within the cell.开发者_JAVA技巧 how do i convert that location in respect to the tableLayoutPanel?
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
精彩评论