如何创建在c#中以chrome或mozilla打开的webbrowser控件 [英] How to create webbrowser control that open in chrome or mozilla in c#
本文介绍了如何创建在c#中以chrome或mozilla打开的webbrowser控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Windows应用程序使用Webbrowser控件导航一个链接,但该网站不支持IE 8(我不想将IE 8升级到其他最新版本)这就是为什么我想在其他浏览器中打开该浏览器,如Chrome或者Mozilla ......
提前感谢
I have one windows application that navigate one link using Webbrowser control but that website not supporting IE 8 (i don't want to upgrade IE 8 to other latest version) that's why i want to open that webbrowser in other browser like Chrome or Mozilla...
Thank's in advance
推荐答案
请参阅我对该问题的评论。有一些开源项目可以帮助你。
使用Chrome实际上意味着使用名为WebKit的布局引擎:
http://en.wikipedia.org/wiki/Google_Chrome [ ^ ],
http://en.wikipedia.org/wiki/Chromium [ ^ ],
http://en.wikipedia.org / wiki / WebKit [ ^ ],>
http://en.wikipedia.org/wiki/Layout_engine [ ^ ]。
请看这个项目:http://webkitdotnet.sourceforge.net [ ^ ]。
还有其他一些与Chromium / WebKit相关的选项:
https://code.google.com/p/berkelium-sharp [ ^ ],
https://github.com/romainpi/berkelium-managed [ ^ ],
https://code.google.com/p/chromiumembedded [ ^ ]。
使用Mozilla,有很多共同点;它使用Gecko:
http://en.wikipedia.org/wiki/Mozilla [ ^ ],
http://en.wikipedia.org/wiki/Gecko_%28software%29 [ ^ ]。
可以使用GeckoFX嵌入Mozilla浏览器控件: https://code.google.com/p/geckofx [ ^ ]。
-SA
Please see my comment to the question. There are some open-source projects to help you.
Using Chrome actually means using its layout engine called WebKit:
http://en.wikipedia.org/wiki/Google_Chrome[^],
http://en.wikipedia.org/wiki/Chromium[^],
http://en.wikipedia.org/wiki/WebKit[^],
http://en.wikipedia.org/wiki/Layout_engine[^].
Please see this project: http://webkitdotnet.sourceforge.net[^].
There are some other Chromium/WebKit-related options:
https://code.google.com/p/berkelium-sharp[^],
https://github.com/romainpi/berkelium-managed[^],
https://code.google.com/p/chromiumembedded[^].
With Mozilla, there is a lot in common; it uses Gecko:
http://en.wikipedia.org/wiki/Mozilla[^],
http://en.wikipedia.org/wiki/Gecko_%28software%29[^].
Mozilla browser control can be embedded using GeckoFX: https://code.google.com/p/geckofx[^].
—SA
这篇关于如何创建在c#中以chrome或mozilla打开的webbrowser控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文