通过事件和使用Web浏览器控件在Web和桌面之间进行交互 [英] Interaction between web and desktop through event and using Web browser control

查看:123
本文介绍了通过事件和使用Web浏览器控件在Web和桌面之间进行交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何身体都可以帮助我!!!!



想通过活动和使用网络浏览器控制来实现网络和桌面之间的互动



基本上我的桌面应用程序使用Web浏览器控件显示HTML页面,我想如果任何用户点击任何HTML按钮,那么应该引发任何类型的事件并调用桌面应用程序





谢谢,

URVISH SUTHAR

Can any body please help me!!!!

Wanted to interaction between web and desktop through event and using Web browser control

Basically my desktop application using web browser control to show HTML page and I want if any user click on any HTML button then any kind of event should raised and make call to desktop application


Thank you,
URVISH SUTHAR

推荐答案

public Form1()
 {
     InitializeComponent();
     WebBrowser browser = new WebBrowser();
     browser.Url = new Uri(@"http://stackoverflow.com/questions/9885639/web-to-desktop-application");
     this.Controls.Add(browser);
 }


这篇关于通过事件和使用Web浏览器控件在Web和桌面之间进行交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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