© 1999-2048 dssz.net 粤ICP备11031372号
[C#] C#如何在后台捕捉按键
说明: C#如何在后台捕捉按键 [此问题的推荐答案] API别忘了 using System.Runtime.InteropServices; [DllImport("user32.dll")] public static extern UInt32 RegisterHotKey(IntPtr hWnd, UInt32 id, UInt32 fsModifiers, UInt32 vk); //API public Form1() { InitializeComponent(); Registe rH<wanghen2008> 上传 | 大小:33kb