• 大小: 55KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-29
  • 语言: C#
  • 标签: WinFor  

资源简介

CefSharp的Browser怎么说也是嵌入了Chromium的浏览器,所以碰到标签“_blank”这样的时候,都是弹出新窗体打开新页面。 但是怎奈我使用了DevExpress控件中的TabForm这个东西来作为主窗体,所以我不希望弹出新的窗体来,那么就需要捕获打开新窗体这样一个事件来重写了。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xilium.CefGlue;

namespace CefDemo
{
    public class BrowserClient:CefClient
    {
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-04-29 12:03  CefDemo\
     目录           0  2013-05-11 12:04  CefDemo\CefDemo\
     文件         911  2013-04-29 12:03  CefDemo\CefDemo.sln
     文件       50688  2013-05-11 12:21  CefDemo\CefDemo.v11.suo
     文件         144  2013-05-02 19:03  CefDemo\CefDemo\app.config
     文件        2234  2013-04-29 16:37  CefDemo\CefDemo\app.manifest
     目录           0  2013-04-29 16:54  CefDemo\CefDemo\bin\
     文件         230  2013-05-11 12:21  CefDemo\CefDemo\BrowserClient.cs
     目录           0  2013-04-29 15:36  CefDemo\CefDemo\bs\
     文件         338  2013-04-29 16:29  CefDemo\CefDemo\bs\BApp.cs
     文件         329  2013-04-29 16:27  CefDemo\CefDemo\bs\BSCtl.cs
     文件         964  2013-05-11 12:29  CefDemo\CefDemo\CefBrowser.cs
     文件        1377  2013-05-11 12:29  CefDemo\CefDemo\CefBrowser.Designer.cs
     文件        5817  2013-05-11 12:29  CefDemo\CefDemo\CefBrowser.resx
     文件        5207  2013-05-11 12:19  CefDemo\CefDemo\CefDemo.csproj
     文件         227  2013-05-02 19:03  CefDemo\CefDemo\CefDemo.csproj.user
     目录           0  2013-05-02 18:57  CefDemo\CefDemo\dll\
     目录           0  2013-04-29 16:32  CefDemo\CefDemo\obj\
     目录           0  2013-05-11 12:37  CefDemo\CefDemo\obj\Debug\
     文件         180  2013-05-11 12:37  CefDemo\CefDemo\obj\Debug\CefDemo.CefBrowser.resources
     文件         627  2013-04-29 16:56  CefDemo\CefDemo\obj\Debug\CefDemo.csproj.FileListAbsolute.txt
     文件         980  2013-05-11 12:37  CefDemo\CefDemo\obj\Debug\CefDemo.csproj.GenerateResource.Cache
     文件       16076  2013-05-02 19:03  CefDemo\CefDemo\obj\Debug\CefDemo.csprojResolveAssemblyReference.cache
     文件       11264  2013-05-11 12:37  CefDemo\CefDemo\obj\Debug\CefDemo.exe
     文件       28160  2013-05-11 12:37  CefDemo\CefDemo\obj\Debug\CefDemo.pdb
     文件         180  2013-05-11 12:19  CefDemo\CefDemo\obj\Debug\CefDemo.Properties.Resources.resources
     文件        3521  2013-04-29 16:30  CefDemo\CefDemo\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7529  2013-05-11 12:04  CefDemo\CefDemo\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件           0  2013-04-29 12:08  CefDemo\CefDemo\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2013-04-29 12:08  CefDemo\CefDemo\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2013-04-29 12:08  CefDemo\CefDemo\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
............此处省略19个文件信息

评论

共有 条评论