Control/NoTagLable.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
// EAddress.css:地址簿相关操作.
// CopyRight (c) 2009-2016 WMPT Teconology. All Rights Reserved.
//
// 2010-03-05
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
using WMPT.Common;
namespace WMPT.Control
{
[DefaultProperty("Text"), ToolboxData("<{0}:NoTagLable runat=server></{0}:NoTagLable>")]
public class NoTagLable : System.Web.UI.Control
{
// Methods
protected override void Render(HtmlTextWriter writer)
{
if (!StringHelper.IsNullorEmpty(this.NoWrap))
{
writer.Write("<nobr>");
}
writer.Write(this.Text);
if (!StringHelper.IsNullorEmpty(this.NoWrap))
{
writer.Write("</nobr>");
}
}
// Properties
public virtual string NoWrap
{
get
{
object obj2 = this.ViewState["NoWrap"];
if (obj2 != null)
{
return (string)obj2;
}
return string.Empty;
}
set
{
this.ViewState["NoWrap"] = value;
}
}
public virtual string Text
{
get
{
object obj2 = this.ViewState["Text"];
if (obj2 != null)
后面还有 15 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
