摘要: SendKeys模拟键盘的操作,设置一定的键值,便可以自动控制。但是我们在使用的过程中,发现SendKeys不支持空格键,在很多的应用场景,都需要使用空格键,所以只好通过反射的方式将其调整。代码如下: Type typeForKeywords = Type.GetType("System.Windows.Forms.SendKeys+KeywordVk[], System.Windows.Form...阅读全文
posted @ 2008-03-13 15:26 God Blue Shadow 阅读(772) | 评论 (1) 编辑 |
