Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想向系统发送击键(地铁风格的应用程序)。像右箭头或左箭头这样的键。
在 Windows 窗体中很容易做到SendKeys():
SendKeys()
System.Windows.Forms.SendKeys.Send("S");
有没有办法做到这一点?
不,这是不可能的。反正不合法。