开发者

Pressing a key in c#

开发者 https://www.devze.com 2022-12-08 05:15 出处:网络
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

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

精彩评论

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

关注公众号