将密钥发送给WPF浏览器控件 [英] Send keys to WPF Browser control

查看:134
本文介绍了将密钥发送给WPF浏览器控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以编程式发送[UserID] {TAB} [密码] {CARRIAGE RETURN}到一个拥有用户名,密码和登录按钮的浏览器控件。我想在我的应用程序中使用我自己的虚拟键盘。任何提示在这里?

解决方案

对于迟到的答案抱歉,但我刚刚完成了一个类似的项目,并作为工作的一部分在开源的两个项目Codeplex的过程中。



第一个是 Windows输入模拟器,这是一个简单的.NET包装器,用C#编写的Win32 SendInput。

第二种是可自定义的屏幕键盘或触摸屏键盘控制和名为WpfKB的工具包,并将于明天发布。希望这些对您或其他参与项目的人有所帮助。

Can I programatically send [UserID]{TAB}[Password]{CARRIAGE RETURN} to a webbrowser control which has a userID, password and Sign-in button there. I wanted to use my own virtual keyboard in my application. Any tips here?

解决方案

Sorry for the late answer but I've just finished a similar project and as part of the work am in the process of open sourcing two projects to Codeplex.

The first is the Windows Input Simulator which is a simple .NET wrapper around the Win32 SendInput written in C#.

The second is a very customisable on screen keyboard or touch screen keyboard control and toolkit called WpfKB and will be available as an initial release tomorrow. Hope these are of help to you or anyone else who comes across the projects.

这篇关于将密钥发送给WPF浏览器控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆