• 大小: 0.72M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 编辑器  HTML  

资源简介

html编写实例源码

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace WinformHTMLEditor
{
    [ComVisible(true)]
    public partial class Form1 : Form
    {
        string content = ““;//声明变量
        public Form1()
        {
            InitializeComponent();
            //初始化读取模版
            this.webBrowser1.Url = new System.Uri(Application.StartupPath + “\\kindeditor\\e.html“ System.UriKind.Absolute);
            this.webBrowser1.objectForscripting = this;//加载js必须给当前类加ComVisible 属性确保对com可见

        }
        //内容初始值否则webbrowser刚开始会没值
        public string GetContent()
        {
            return content;
        }

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

     文件        490  2009-06-11 05:14  WinformHTMLEditor\WinformHTMLEditor\bin\Debug\WinformHTMLEditor.vshost.exe.manifest

     文件       8192  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\bin\x86\Debug\WinformHTMLEditor.exe

     文件      24064  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\bin\x86\Debug\WinformHTMLEditor.pdb

     文件      14328  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\bin\x86\Debug\WinformHTMLEditor.vshost.exe

     文件        490  2013-06-18 20:24  WinformHTMLEditor\WinformHTMLEditor\bin\x86\Debug\WinformHTMLEditor.vshost.exe.manifest

     文件       1670  2015-03-23 17:30  WinformHTMLEditor\WinformHTMLEditor\Form1.cs

     文件       3180  2015-03-23 15:04  WinformHTMLEditor\WinformHTMLEditor\Form1.Designer.cs

     文件       5814  2015-03-23 15:03  WinformHTMLEditor\WinformHTMLEditor\Form1.resx

     文件       1478  2015-03-23 17:33  WinformHTMLEditor\WinformHTMLEditor\obj\Debug\WinformHTMLEditor.csproj.FileListAbsolute.txt

     文件        847  2015-03-23 15:06  WinformHTMLEditor\WinformHTMLEditor\obj\Debug\WinformHTMLEditor.csproj.GenerateResource.Cache

     文件       9216  2015-03-23 17:30  WinformHTMLEditor\WinformHTMLEditor\obj\Debug\WinformHTMLEditor.exe

     文件        180  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\obj\Debug\WinformHTMLEditor.Form1.resources

     文件      24064  2015-03-23 17:30  WinformHTMLEditor\WinformHTMLEditor\obj\Debug\WinformHTMLEditor.pdb

     文件        180  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\obj\Debug\WinformHTMLEditor.Properties.Resources.resources

     文件        842  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\obj\x86\Debug\WinformHTMLEditor.csproj.FileListAbsolute.txt

     文件        847  2015-03-23 15:03  WinformHTMLEditor\WinformHTMLEditor\obj\x86\Debug\WinformHTMLEditor.csproj.GenerateResource.Cache

     文件       8192  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\obj\x86\Debug\WinformHTMLEditor.exe

     文件        180  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\obj\x86\Debug\WinformHTMLEditor.Form1.resources

     文件      24064  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\obj\x86\Debug\WinformHTMLEditor.pdb

     文件        180  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\obj\x86\Debug\WinformHTMLEditor.Properties.Resources.resources

     文件        478  2012-02-03 14:17  WinformHTMLEditor\WinformHTMLEditor\Program.cs

     文件       1366  2012-02-03 14:17  WinformHTMLEditor\WinformHTMLEditor\Properties\AssemblyInfo.cs

     文件       2884  2012-02-03 14:17  WinformHTMLEditor\WinformHTMLEditor\Properties\Resources.Designer.cs

     文件       5612  2012-02-03 14:17  WinformHTMLEditor\WinformHTMLEditor\Properties\Resources.resx

     文件       1102  2012-02-03 14:17  WinformHTMLEditor\WinformHTMLEditor\Properties\Settings.Designer.cs

     文件        249  2012-02-03 14:17  WinformHTMLEditor\WinformHTMLEditor\Properties\Settings.settings

     文件       4591  2015-03-23 15:11  WinformHTMLEditor\WinformHTMLEditor\WinformHTMLEditor.csproj

     文件       1295  2015-03-23 15:01  WinformHTMLEditor\WinformHTMLEditor.sln

    ..A..H.     64512  2015-03-23 15:09  WinformHTMLEditor\WinformHTMLEditor.suo

     文件       1741  2011-11-17 23:00  WinformHTMLEditor\生成测试\kindeditor\asp\demo.asp

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

评论

共有 条评论