private void pictureBox1_Click(object sender, EventArgs e)
{
//点击获取picturebox内的X,Y坐标
int x = Control.MousePosition.X;
int y = Control.MousePosition.Y;
textBox1.Text = x.ToString() + ":" + y.ToString();
}
private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
{
//鼠标移动获取picturebox内的X,Y坐标
textBox1.Text = e.X.ToString() + ":" + e.Y.ToString();
}