⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multiplehtmltexttype.cs

📁 动易SiteFactory&#8482 网上商店系统1.0源代码
💻 CS
字号:
namespace PowerEasy.WebSite.Controls.FieldControl
{
    using PowerEasy.Common;
    using PowerEasy.Controls;
    using PowerEasy.Controls.Editor;
    using System;
    using System.Web.UI.HtmlControls;

    public class MultipleHtmlTextType : BaseFieldControl
    {
        protected PEeditor EditorMultipleHtml;
        protected FckEditorValidator FckEditVal;
        protected HtmlTableRow Tab;

        protected void Page_Load(object sender, EventArgs e)
        {
            this.EditorMultipleHtml.SkinPath = "skins/office2003/";
            this.EditorMultipleHtml.Width = DataConverter.CLng(base.Settings[1]);
            this.EditorMultipleHtml.Height = DataConverter.CLng(base.Settings[2]);
            string str = base.Settings[0];
            if (str != null)
            {
                if (!(str == "1"))
                {
                    if (str == "2")
                    {
                        this.EditorMultipleHtml.ToolbarSet = "";
                    }
                    else if (str == "3")
                    {
                        this.EditorMultipleHtml.ToolbarSet = "Default";
                    }
                }
                else
                {
                    this.EditorMultipleHtml.ToolbarSet = "Basic";
                }
            }
            if (base.EnableNull)
            {
                this.FckEditVal.Visible = true;
            }
            if (!base.IsPostBack)
            {
                this.EditorMultipleHtml.Value = this.FieldValue;
            }
            else
            {
                this.FieldValue = StringHelper.RemoveXss(this.EditorMultipleHtml.Value);
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -