鼠标单击事件 如何获取点击位置位于窗体中的位置写这样一段代码
void Click(object sender, EventArgs e) { MouseEventArgs me = (MouseEventArgs)e; MessageBox.Show(me.Location.ToString()); }
(sender as Control).Parent.PointToClient((sender as Control).PointToScreen(me.Location));