【C#】MouseEventArgs事件参数获取鼠标的位置
时间:2015-11-07 10:38:49
收藏:0
阅读:2270
private void Form1_MouseDown(object sender, MouseEventArgs e) { string x = e.X.ToString(); //x坐标 string y = e.Y.ToString(); //Y坐标 MessageBox.Show("X:"+x+" Y:"+y); }
原文:http://www.cnblogs.com/baixdu/p/4944605.html
评论(0)