• 大小: 0.04M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: 编辑器  winform  HTML  ORM  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;

namespace HtmlEditor
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            LoadHtml(this EventArgs.Empty);
            styleComboBox.SelectedIndex = 0;
        }

        private void UpdateButtons(object sender EventArgs e)
        {
            bold.Checked = htmlEditor.SelectionBold;
            italic.Checked = htmlEditor.SelectionItalic;
            underline.Checked = htmlEditor.SelectionUnderline;
            subscript.Checked = htmlEditor.SelectionSubscript;
            superscript.Checked = htmlEditor.SelectionSuperscript;
            if (!string.IsNullOrEmpty(htmlEditor.SelectionFontName))
            fontComboBox.Text = htmlEditor.Selection

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         909  2011-06-07 12:01  HtmlEditor.sln
     文件         488  2011-06-07 12:04  Program.cs
     目录           0  2011-06-07 12:01  HtmlEditor\
     文件        9457  2012-06-14 16:05  HtmlEditor\DynamicWebBrowser.cs
     目录           0  2012-06-14 16:04  HtmlEditor\Elements\
     文件        3919  2011-11-15 05:54  HtmlEditor\Elements\BorderManager.cs
     文件         739  2011-11-15 05:53  HtmlEditor\Elements\HtmlAbbreviation.cs
     文件        1590  2012-06-14 16:05  HtmlEditor\Elements\HtmlHyperlink.cs
     文件        4621  2012-06-14 16:06  HtmlEditor\Elements\HtmlImage.cs
     文件        5905  2012-03-09 23:57  HtmlEditor\Elements\Htmlobject.cs
     文件        6079  2012-06-14 16:05  HtmlEditor\Elements\HtmlTable.cs
     文件         760  2011-01-17 00:36  HtmlEditor\Enums.cs
     文件       48499  2012-03-02 19:04  HtmlEditor\HtmlEditor.cs
     文件        1511  2011-01-11 04:46  HtmlEditor\HtmlEditorCommands.cs
     文件        9352  2011-02-08 05:16  HtmlEditor\UndoManager.cs
     目录           0  2009-06-02 14:00  Properties\
     文件        1619  2009-06-02 14:00  Properties\AssemblyInfo.cs
     文件        8619  2011-06-08 17:19  Properties\Resources.Designer.cs
     文件        7184  2011-06-08 17:19  Properties\Resources.resx
     文件        1135  2011-06-07 12:04  Properties\Settings.Designer.cs
     文件         249  2009-06-02 14:00  Properties\Settings.settings
     目录           0  2011-06-08 17:19  Resources\
     文件         139  2011-06-08 17:20  Resources\Common.css
     文件         566  2011-06-08 17:11  Resources\Google.css
     文件         150  2011-06-08 17:11  Resources\Office2003.css
     文件         537  2011-06-08 17:11  Resources\Office2007.css
     文件         717  2011-06-08 17:11  Resources\Wikipedia.css
     文件        4834  2011-06-08 17:20  Form1.cs
     文件       15535  2011-06-08 17:17  Form1.Designer.cs
     文件        6014  2011-06-08 17:17  Form1.resx
     文件         540  2011-06-07 12:10  historial.txt
............此处省略2个文件信息

评论

共有 条评论