C#中的鼠标控件 [英] mouse control in c#

查看:68
本文介绍了C#中的鼠标控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在C#中创建Windows窗体应用程序以使用键盘控制鼠标.但是我对于使用哪个库和函数感到困惑.请任何人帮我.

I want to create windows form application in c# to control mouse with the key board. but i am confused about which library and functions to use. please any one help me.

推荐答案

看这里:
MSDN:如何:在代码中模拟鼠标和键盘事件 [在C#中处理全局鼠标和键盘挂钩 [
Look here:
MSDN: How to: Simulate Mouse and Keyboard Events in Code[^]
Processing Global Mouse and Keyboard Hooks in C#[^]


这篇关于C#中的鼠标控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆