开发者

Pressing a key in c#

I'm developing a program that searches for a running program and press a button 开发者_开发百科on it automatically But How can I press the enter key on the keyboard from my code (send the command of the enter key)? Thanks.


You can use SendKeys.

Please check this CodeProject tutorial for detailed How To.

Pressing a key in c#

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜