资源简介

Cefsharp浏览器使用过程中困扰到不少的新手,新集成的cefsharpV63版本供大家使用,支持MP4 MP3等,下载即可使用。 也可以单独引用到自己项目中,将下载下来的文件解压,然后bin\Debug下文件全部复制到自己程序bin\Debug目录。 项目右键"添加引用",找到: CefSharp.dll CefSharp.Core.dll CefSharp.WinForms.dll 添加引用到项目。

资源截图

代码片段和文件信息

using CefSharp;
using CefSharp.WinForms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace cefsharpDemo
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            InitBrowser();
        }

        public ChromiumWebBrowser browser;
        public void InitBrowser()
        {
            Cef.Initialize(new CefSettings());
            browser = new ChromiumWebBrowser(“www.baidu.com“);
            this.Controls.Add(browser);
            browser.Dock = Dockstyle.Fill;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-22 11:16  cefsharpDemo\
     目录           0  2018-12-22 11:16  cefsharpDemo\.vs\
     目录           0  2018-12-22 11:16  cefsharpDemo\.vs\cefsharpDemo\
     目录           0  2018-12-22 11:16  cefsharpDemo\.vs\cefsharpDemo\v14\
     文件       43008  2018-12-22 11:23  cefsharpDemo\.vs\cefsharpDemo\v14\.suo
     目录           0  2018-12-22 11:21  cefsharpDemo\cefsharpDemo\
     文件         189  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\App.config
     文件        1486  2018-12-22 11:18  cefsharpDemo\cefsharpDemo\Form1.Designer.cs
     文件         764  2018-12-22 11:21  cefsharpDemo\cefsharpDemo\Form1.cs
     文件        5817  2018-12-22 11:18  cefsharpDemo\cefsharpDemo\Form1.resx
     文件         524  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\Program.cs
     目录           0  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\Properties\
     文件        1332  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\Properties\AssemblyInfo.cs
     文件        2837  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\Properties\Resources.Designer.cs
     文件        5612  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\Properties\Resources.resx
     文件        1099  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\Properties\Settings.Designer.cs
     文件         249  2018-12-22 11:16  cefsharpDemo\cefsharpDemo\Properties\Settings.settings
     目录           0  2018-12-22 11:22  cefsharpDemo\cefsharpDemo\bin\
     目录           0  2018-12-22 11:22  cefsharpDemo\cefsharpDemo\bin\Debug\
     文件      786432  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.BrowserSubprocess.Core.dll
     文件     4935680  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.BrowserSubprocess.Core.pdb
     文件        8192  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.BrowserSubprocess.exe
     文件       13824  2018-05-23 02:07  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.BrowserSubprocess.pdb
     文件     1169920  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.Core.dll
     文件     5820416  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.Core.pdb
     文件       56330  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.Core.xml
     文件       28160  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.WinForms.dll
     文件       54784  2018-05-23 02:07  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.WinForms.pdb
     文件       41563  2018-05-23 02:05  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.WinForms.xml
     文件      186880  2018-05-23 02:04  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.dll
     文件      417280  2018-05-23 02:07  cefsharpDemo\cefsharpDemo\bin\Debug\CefSharp.pdb
............此处省略115个文件信息

评论

共有 条评论