Hidistro.UI.SaleSystem.CodeBehind/NewTemplatedWebControl.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.UI.SaleSystem.CodeBehind
{
using Hidistro.Core;
using System;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
[PersistChildren(false), ParseChildren(true)]
public abstract class NewTemplatedWebControl : WebControl, INamingContainer
{
private ITemplate _skinTemplate;
private string skinName;
protected NewTemplatedWebControl()
{
}
protected override void CreateChildControls()
{
this.Controls.Clear();
this.LoadHtmlThemedControl();
}
protected bool LoadHtmlThemedControl()
{
string str = File.ReadAllText(this.Page.Request.MapPath(this.SkinPath), Encoding.UTF8);
if (!string.IsNullOrEmpty(str))
{
Control child = this.Page.ParseControl(str);
child.ID = "_";
this.Controls.Add(child);
return true;
}
return false;
}
public override void RenderBeginTag(HtmlTextWriter writer)
{
}
public override void RenderEndTag(HtmlTextWriter writer)
{
}
public override ControlCollection Controls
{
get
{
this.EnsureChildControls();
return base.Controls;
}
}
public override System.Web.UI.Page Page
{
后面还有 66 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
