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); }
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); }