[英]Send spacebar key in wpf
i am try to send spacebar key in wpf C# i try SendKeys.SendWait(" "); 我尝试在wpf C#中发送空格键,我尝试使用SendKeys.SendWait(“”); and SendKeys.SendWait("{spacebar}");
和SendKeys.SendWait(“ {spacebar}”); it's not work and the Send method will not work in wpf what is the way to do that , thanks in advance
这是行不通的,并且Send方法在wpf中将不起作用,这是怎么做的,请提前感谢
我找到了应该使用第三方库https://inputsimulator.codeplex.com/的解决方案,它在WPF中有效
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.