在C#.net Forms应用程序中嵌入Chrome或firefox浏览器 [英] Embed Chrome or firefox Browser in C# .net Forms application
本文介绍了在C#.net Forms应用程序中嵌入Chrome或firefox浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我读过有一种方法可以在Windows窗体应用程序中嵌入像Chrome或Firefox这样的开源浏览器,而不是内置的Web浏览器在.Net。
但是我不知道怎么做。
可以任意请给我一个如何做到这一点的例子?
非常感谢。
Hi
I've read that there is a way to embed an open-source browser like chrome or Firefox in a Windows form application instead of the inbuilt Web Browser in .Net.
But I don't know how to do this.
Could any one please give me an example of how to do this?
Thank you very much.
推荐答案
Chromium Embedded Framework [ ^ ]
CefSharp [ ^ ]
CefGlue [ ^ ]
全部这些网站有关于在.NET应用程序中使用Chromium框架的示例项目和良好文档。
Chromium Embedded Framework[^]
CefSharp[^]
CefGlue[^]
All those sites have example projects and good documentation on using the Chromium framework in a .NET application.
假设您只想使用其他浏览器,而不是将Chrome或Firefox添加到C#Web浏览器控制...这里有一些有用的链接:
CefSharp嵌入式Chromium for .NET:https://github.com/chillitom/CefSharp
嵌入Gecko(firefox引擎):https://developer.mozilla.org/en-US/docs/Gecko/Embedding_Mozilla/FAQ/Embedding_Gecko
Assuming that you merely want to use other browsers, not add Chrome or Firefox to the C# Web Browser control...here are some helpful links:
CefSharp Embedded Chromium for .NET: https://github.com/chillitom/CefSharp
Embedding Gecko (firefox engine): https://developer.mozilla.org/en-US/docs/Gecko/Embedding_Mozilla/FAQ/Embedding_Gecko
要嵌入Chrome,请使用WebKit.NET:
http://webkitdotnet.sourceforge.net/ [ ^ ]
要嵌入Firefox,请使用GeckoFX:
http:// code.google.com/p/geckofx/ [ ^ ]
这篇关于在C#.net Forms应用程序中嵌入Chrome或firefox浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文