现在不少程序,在做窗体的判断时候,获取屏幕坐标~今天Xushine研究院就和大家来分享这个~

public Form1()
{
InitializeComponent();
}
bool beginMove = false;//初始化
int currentXPosition ;
int currentYPosition ;
//鼠标移动事件
private void Form1_MouseMove(object sender,
MouseEventArgs e)
{[……]

更多