Point p = Cursor.Position;  
int x = p.X;  
int y = p.Y;  
label1.Text = String.Format("Mouse X:{0}, Mouse Y :{1}", x, y);  

相关文章:

  • 2022-12-23
  • 2021-11-11
  • 2022-02-01
  • 2021-07-14
  • 2021-11-19
  • 2022-12-23
猜你喜欢
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-03-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案