以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  NET4.0下的CEFSHARP不能用了  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=140932)

--  作者:天若千颖
--  发布时间:2019/9/17 17:03:00
--  NET4.0下的CEFSHARP不能用了
NET4.0下的原来2.0的cefsharp控件不能用了,从网上找到一个包,但是发现以前的代码都不能用了,找不到相关的定义了。

https://raw.githubusercontent.com/hgupta9/CefsharpSite/gh-pages/files/CefSharp51_x32.zip

Dim settings As new CefSharp.Settings()
settings.AutoDetectProxySettings = True
CefSharp.CEF.Initialize(settings)
Dim wv As new CefSharp.WinForms.WebView()
wv.Address = "http://www.baidu.com"
wv.Parent = e.Form.baseform
wv.Dock = System.Windows.Forms.DockStyle.Fill
Dim pnl As WinForm.Panel = e.Form.Controls("Panel1")
pnl.basecontrol.controls.add(wv)

错误提示:
编译错误:未定义类型“SefSharp.Settings”
编译错误:未定义类型“CefSharp.WinForms.WebView”

版主能不能帮忙看看,新的引用该怎么定义?

--  作者:天若千颖
--  发布时间:2019/9/17 17:12:00
--  
项目地址:https://github.com/cefsharp/CefSharp
--  作者:有点蓝
--  发布时间:2019/9/17 20:43:00
--  
百度吧,这玩意太庞大了,看的头晕:http://www.codebye.com/cefsharp-help-2-config-manage.html