影子博客

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

[DllImport("User32.dll")]
private static extern bool SetCursorPos(int x, int y);   

 

private void timer2_Tick(object sender, EventArgs e)
{

  SetCursorPos(blist[bi].Location.X + 50, blist[bi].Location.Y + 200);


}

posted on 2016-02-16 17:03  影子博客  阅读(177)  评论(0编辑  收藏  举报