mycontrol:某一个控件
Point screenPoint = Control.MousePosition;//鼠标相对于屏幕左上角的坐标
Point formPoint = this.PointToClient(Control.MousePosition);//鼠标相对于窗体左上角的坐标
Point contextMenuPoint = mycontrol.PointToClient(Control.MousePosition); //鼠标相对mycontrol控件左上角的坐标