• 大小: 43.86MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-08
  • 语言: C#
  • 标签: GeckoFxC#  HTML5  火狐内核  

资源简介

简单易懂的一个GeckoFx demo 。 使用vs2012

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Gecko;
using System.IO;
namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        GeckoWebBrowser browser;
        public Form1()
        {
            InitializeComponent();
           
            var app_dir = Path.GetDirectoryName(Application.ExecutablePath);
            Xpcom.Initialize(Path.Combine(app_dir “xulrunner“));

            browser = new GeckoWebBrowser();

            browser.Dock = Dockstyle.Fill;
            this.browser.Name = “browser“;

            this.Controls.Add(browser);
        }

        private void Form1_Load(object sender EventArgs e)
        {
            browser.Navigate(“http://www.go50000.com“);
        }
    }
}

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

     文件        144  2015-10-23 18:03  WindowsFormsApplication1\WindowsFormsApplication1\app.config

     文件    1421312  2014-07-21 16:44  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\Geckofx-Core.dll

     文件        146  2013-08-19 10:20  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\Geckofx-Core.dll.config

     文件     134144  2014-07-21 16:44  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\Geckofx-Winforms.dll

     文件       9216  2015-10-23 18:01  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe

     文件        117  2015-10-23 18:01  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config

     文件      24064  2015-10-23 18:01  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb

     文件      21464  2015-10-23 18:02  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe

     文件        117  2015-10-23 18:01  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config

     文件        490  2012-06-06 02:06  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest

     文件      11776  2014-04-21 23:30  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\AccessibleMarshal.dll

     文件      67072  2014-04-21 23:33  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\breakpadinjector.dll

     文件     109056  2014-04-21 23:33  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\crashreporter.exe

     文件       4003  2014-04-21 22:49  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\crashreporter.ini

     文件    2106216  2010-05-26 11:41  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\D3DCompiler_43.dll

     文件         99  2014-04-21 23:35  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\dependentlibs.list

     文件       3274  2014-04-21 22:45  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\dictionaries\en-US.aff

     文件     624314  2014-04-21 22:45  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\dictionaries\en-US.dic

     文件        899  2014-04-21 23:48  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\freebl3.chk

     文件     296960  2014-04-21 22:57  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\freebl3.dll

     文件    4892160  2014-04-21 23:29  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\gkmedias.dll

     文件      30208  2014-04-21 23:30  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\IA2Marshal.dll

     文件        263  2014-04-21 23:00  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\js-gdb.py

     文件    3428864  2014-04-21 23:00  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\js.exe

     文件      45056  2014-04-21 23:10  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\libEGL.dll

     文件     638976  2014-04-21 23:10  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\libGLESv2.dll

     文件        389  2014-04-21 22:44  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\LICENSE

     文件       8704  2014-04-21 22:56  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\mozalloc.dll

     文件     135168  2014-04-21 22:56  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\mozglue.dll

     文件    3378688  2014-04-21 23:00  WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\xulrunner\mozjs.dll

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

评论

共有 条评论