Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/330.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C#-移动光标适当功能Windows 8_C#_Cursor_Mouse_Mousemove_Mouseout - Fatal编程技术网

C#-移动光标适当功能Windows 8

C#-移动光标适当功能Windows 8,c#,cursor,mouse,mousemove,mouseout,C#,Cursor,Mouse,Mousemove,Mouseout,我正在使用此函数,但SetCursorPos 将私有函数SetCursorPos Lib“user32”(ByVal x作为Int32,ByVal Y作为Int32)声明为Int32 但我遇到了一个小问题,当我走到Windows8的角落时。它不会调用侧菜单、开始菜单。。。等等 如果有人知道任何可导入函数“MouseMove”?因此,它将更好地支持Windows8的智能屏幕之后,我得到了一个合适的开源库,用于输入模拟 这个代码对我有用 var inputSimulator = new Inp

我正在使用此函数,但SetCursorPos 将私有函数SetCursorPos Lib“user32”(ByVal x作为Int32,ByVal Y作为Int32)声明为Int32

但我遇到了一个小问题,当我走到Windows8的角落时。它不会调用侧菜单、开始菜单。。。等等


如果有人知道任何可导入函数“MouseMove”?因此,它将更好地支持Windows8的智能屏幕

之后,我得到了一个合适的开源库,用于输入模拟

这个代码对我有用

 var   inputSimulator = new InputSimulator(); 
    inputSimulator.Mouse.MoveMouseBy(pixX, pixY);