using CefSharp;
using CefSharp.WinForms;
public void InitBrowser()
{
Cef.Initialize(new CefSettings());
browser = new ChromiumWebBrowser("http://www.avlove.com");
Font font = new Font("微软雅黑", 10.5f);
this.Controls.Add(browser);
browser.Font = font;
browser.Dock = DockStyle.Fill;
browser.LoadingStateChanged += new EventHandler<LoadingStateChangedEventArgs>(LoadingStateChangeds);
}
//加载状态
private void LoadingStateChangeds(object sender, EventArgs e)
{
}
开源地址 https://github.com/cefsharp/CefSharp/tree/cefsharp/83
如果闲麻烦:https://download.csdn.net/download/nbspzs/12709824 dll给你生成好了