如何与QUOT;在新窗口"使用WebBrowser控件?控件、新窗口、QUOT、WebBrowser

2023-09-05 00:35:01 作者:史珍香

当你使用WebBrowser控件在.NET中,你可以嵌入IE浏览器的一个实例,在应用程序,从根本上让自己的基于IE的Web浏览器。

When you use the WebBrowser control in .NET you can "embed" an instance of IE in your application, essentially making your own IE-based Web Browser.

有谁知道如何使创建的新窗口(当用户从​​上下文菜单中选择在新窗口打开等)开放,而不是计算机的默认浏览器在您的Web浏览器应用程序的另一个窗口,??

Does anyone know how to make any new windows created (like when the user selects "Open in New Window" from the context menu) open up in another Window of Your Web Browser Application, instead of the computers default browser??

推荐答案

也许来源$ C ​​$从这个$ C $的CProject C条可以帮助:

Maybe the Source Code from this CodeProject article can help:

扩展.NET 2.0 WebBrowser控件