我有个问题.是否可以将X和Y点值类型从int更改为Int32?我有50 000像素宽的面板,我只能识别大约32k的X尺寸.
public void pictureBox2_Click(object sender, EventArgs e)
{
Point point = pictureBox2.PointToClient(MousePosition);
MessageBox.Show(point.ToString());
MessageBox.Show(point.X.ToString());
}
Run Code Online (Sandbox Code Playgroud)
这是我的代码,我需要将X更改为Int32.有解决方案吗 提前致谢,