Web浏览器导航问题 [英] Webbrowser Navigating question

查看:167
本文介绍了Web浏览器导航问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序有一个Web浏览器和一些按钮,用于控制Web浏览器将显示的URL.并且我想在单击Web浏览器中的链接时启动IE浏览器,但是当我使用"void webBrowser1_Navigating(object sender,NavigatingEventArgs e)"时,我会启动IE浏览器.和"WebBrowserTask" 要启动IE浏览器应用程序,按钮控件将直接定向到IE浏览器,而不是在webbrowser中显示网页.因此,我只需要单击webbrowser中的链接,即可在IE浏览器中打开该链接,该如何处理呢?

My app has a webbrowser and some buttons to control what url the webbrowser will show. And I want to launch IE browser when I click the links in webbrowser, But when I use "void webBrowser1_Navigating (object sender, NavigatingEventArgs e)" and "WebBrowserTask" to launch IE browser app, button control will direct to IE browser instead of showing the webpage in webbrowser. So what I need is only if I click the link in webbrowser will the link be opened in IE browsers, how can I deal with it ?

推荐答案

也许此链接是对您有帮助: http://franciscojf.wordpress.com/2011/03/27/full-web-browser-control-for-windows-phone-7/
Maybe this link is helpful for you: http://franciscojf.wordpress.com/2011/03/27/full-web-browser-control-for-windows-phone-7/


这篇关于Web浏览器导航问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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