![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WinForm
Ynxtzi
这个作者很懒,什么都没留下…
展开
-
C#全局键盘监视
public class InterceptKeys { private const int WH_KEYBOARD_LL = 13; //全局键盘钩子 private const int WM_KEYDOWN = 0x0100; //键盘按下 //private const int WM_KEYUP = 0x0101; //键盘抬...转载 2018-08-10 21:00:01 · 1656 阅读 · 0 评论 -
修改注册表实现开机自启
//设置开机自启动 MessageBox.Show("设置开机自启动,需要修改注册表", "提示"); string path = Application.ExecutablePath; RegistryKey rk = Registry.LocalMachine...转载 2018-08-10 22:15:51 · 692 阅读 · 0 评论