Discuz.Control/WebControl.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.ComponentModel;
using System.Text;
using System.Web.UI;

namespace Discuz.Control
{
    /// <summary>
    /// WebControl接口
    /// </summary>
    public interface IWebControl
    {
        /// <summary>
        /// 提示框标题
        /// </summary>
        string HintTitle { set;get;}

        /// <summary>
        /// 提示框内容
        /// </summary>
        string HintInfo { set;get;}

        /// <summary>
        /// 提示框左侧偏移量
        /// </summary>
        int HintLeftOffSet { set;get;}

        /// <summary>
        /// 提示框顶部偏移量
        /// </summary>
        int HintTopOffSet { set;get;}

        /// <summary>
        /// 提示框高度
        /// </summary>
        int HintHeight { set;get;}
    }

    /// <summary>
    /// DiscuzNT WebControl 基类
    /// </summary>
    public class WebControl : System.Web.UI.WebControls.WebControl, IWebControl
    {

        #region 变量声明
        private string _hintTitle = "";

        private string _hintInfo = "";

        private int _hintLeftOffSet = 0;

        private int _hintTopOffSet = 0;

        private string _hintShowType = "up";//或"down"

        private int _hintHeight = 50;
        #endregion


        /// <summary>
后面还有 66 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。