JumboTCMS_src/JumboTCMS.WebControls/Editor.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Configuration;
namespace JumbotCms.WebControls
{
[DefaultProperty("Value")]
[ValidationProperty("Value")]
[ToolboxData("<{0}:Editor runat=server></{0}:Editor>")]
public class Editor : WebControl, INamingContainer, IPostBackDataHandler
{
public Editor()
{ }
[Category("Custom Parameters")]
[Description("控件路件")]
[DefaultValue("/editor/")]
[Bindable(true)]
[Browsable(true)]
public string BasePath
{
get
{
object obj2 = this.ViewState["BasePath"];
if (obj2 == null)
{
obj2 = ConfigurationManager.AppSettings["JBTeditor:BasePath"];
}
return ((obj2 == null) ? "/editor/" : ((string)obj2));
}
set
{
this.ViewState["BasePath"] = value;
}
}
[Category("Appearence")]
[Description("控件宽度")]
[Bindable(true)]
[DefaultValue("455px")]
[Browsable(true)]
public override Unit Width
{
get
{
object obj2 = this.ViewState["Width"];
return ((obj2 == null) ? Unit.Pixel(455) : ((Unit)obj2));
}
set
{
this.ViewState["Width"] = value;
}
}
[Category("Appearence")]
[DefaultValue("248px")]
public override Unit Height
{
后面还有 64 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。