C#窗体使用API模拟键盘输出
代码如下: [DllImport("user32.dll", EntryPoint = "keybd_event", CharSet = CharSet.Auto, ExactSpelling = true)] public static extern void keybd_event(byte vk, byte scan, int flags, int ex...