Mono Winforms MacOSX replacement for WebBrowser

為{幸葍}努か 提交于 2019-12-10 16:37:36

问题


I'm one step away from having my Windows .Net application working on Mac OS X, and the last thing I need to figure out is the WebBrowser control.

I need to display a webpage and not much more with winforms but haven't been able to find any examples or information on how I can replace the WebBrowser control on Mac OS X

Has anyone already found a solution for a web control replacement using winforms on mac os x, and can point me to some source code or talk me through it?


回答1:


Apparently there is a way to have a Web Browser in a mono app that revolves around using Gegko/Webkit and hooking it manually into winforms, but not very well documented




回答2:


I do not think there is any solution for embedding a webpage in a winforms app on OS X.

About the only option is to use Process.Start ("http://www.google.com"), which will launch the webpage in the user's default browser.



来源:https://stackoverflow.com/questions/2612896/mono-winforms-macosx-replacement-for-webbrowser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!