• 大小: 0.07M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: Cefsharp  

资源简介

CefSharp完美代码

资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;
using System.IO;
using System.Text;
using CefSharp.WinForms;
using CefSharp;

namespace CefSharp测试
{
    public partial class Form1 : Form
    {
        ChromiumWebBrowser WebBrowser = new ChromiumWebBrowser(“baidu.com“);

        public Form1()
        {
            InitializeComponent();
           
            panel2.Controls.Add(WebBrowser);
        }

        private void button1_Click(object sender EventArgs e)
        {
            WebBrowser.Load(textBox1.Text);
        }

        private void frameEndFunc(object sender frameLoadEndEventArgs e)
        {
            this.BeginInvoke(new Action(() => {
                String html = WebBrowser.GetSourceAsync().Result;
                richTextBox1.Text = html;
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     52736  2019-06-20 14:34  CefSharp测试\.vs\CefSharp测试\v14\.suo

     文件       5305  2019-06-01 15:05  CefSharp测试\CefSharp测试.csproj

     文件       1348  2019-06-01 15:21  CefSharp测试\CefSharp测试.sln

     文件       3870  2019-06-20 12:52  CefSharp测试\Form1.cs

     文件       8642  2019-06-20 12:52  CefSharp测试\Form1.Designer.cs

     文件       5817  2019-06-20 12:52  CefSharp测试\Form1.resx

     文件          0  2019-06-01 15:05  CefSharp测试\obj\Debug\CefSharp测试.csproj.CopyComplete

     文件         42  2019-06-01 15:05  CefSharp测试\obj\Debug\CefSharp测试.csproj.CoreCompileInputs.cache

     文件       2034  2019-06-01 15:10  CefSharp测试\obj\Debug\CefSharp测试.csproj.FileListAbsolute.txt

     文件        939  2019-06-01 15:09  CefSharp测试\obj\Debug\CefSharp测试.csproj.GenerateResource.Cache

     文件      76732  2019-06-01 15:05  CefSharp测试\obj\Debug\CefSharp测试.csprojAssemblyReference.cache

     文件      81398  2019-06-01 15:09  CefSharp测试\obj\Debug\CefSharp测试.csprojResolveAssemblyReference.cache

     文件      13824  2019-06-01 15:09  CefSharp测试\obj\Debug\CefSharp测试.exe

     文件        180  2019-06-01 15:09  CefSharp测试\obj\Debug\CefSharp测试.Form1.resources

     文件      24064  2019-06-01 15:09  CefSharp测试\obj\Debug\CefSharp测试.pdb

     文件        180  2019-06-01 15:09  CefSharp测试\obj\Debug\CefSharp测试.Properties.Resources.resources

     文件        864  2019-06-01 15:09  CefSharp测试\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7022  2019-06-01 15:08  CefSharp测试\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件         42  2019-06-01 15:05  CefSharp测试\obj\Release\CefSharp测试.csproj.CoreCompileInputs.cache

     文件      57335  2019-06-01 15:05  CefSharp测试\obj\Release\CefSharp测试.csprojResolveAssemblyReference.cache

     文件          0  2019-06-01 15:05  CefSharp测试\obj\x86\Debug\CefSharp测试.csproj.CopyComplete

     文件         42  2019-06-01 15:05  CefSharp测试\obj\x86\Debug\CefSharp测试.csproj.CoreCompileInputs.cache

     文件       4796  2019-06-20 14:15  CefSharp测试\obj\x86\Debug\CefSharp测试.csproj.FileListAbsolute.txt

     文件       1012  2019-06-20 14:14  CefSharp测试\obj\x86\Debug\CefSharp测试.csproj.GenerateResource.Cache

     文件      56829  2019-06-01 15:05  CefSharp测试\obj\x86\Debug\CefSharp测试.csprojAssemblyReference.cache

     文件     101190  2019-06-20 14:14  CefSharp测试\obj\x86\Debug\CefSharp测试.csprojResolveAssemblyReference.cache

     文件      13824  2019-06-20 14:14  CefSharp测试\obj\x86\Debug\CefSharp测试.exe

     文件        180  2019-06-20 14:14  CefSharp测试\obj\x86\Debug\CefSharp测试.Form1.resources

     文件      26112  2019-06-20 14:14  CefSharp测试\obj\x86\Debug\CefSharp测试.pdb

     文件        180  2019-06-01 15:10  CefSharp测试\obj\x86\Debug\CefSharp测试.Properties.Resources.resources

............此处省略24个文件信息

评论

共有 条评论