VideoHomeControl/CheckBox.cs

(开头部分) 3KB

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

using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;

using myfilm.Common;
using myfilm.Data;

namespace myfilm.Control
{
	/// <summary>
	/// 复选框控件。
	/// </summary>
    [DefaultProperty("Text"), ToolboxData("<{0}:CheckBox runat=server></{0}:CheckBox>")]
    public class CheckBox : System.Web.UI.WebControls.CheckBox, myfilm.Control.IWebControl, IPostBackDataHandler
	{
		/// <summary>
		/// 构造函数
		/// </summary>
		public CheckBox(): base()
		{
    	}

       

       


        private string _hintTitle = "";
        /// <summary>
        /// 提示框标题
        /// </summary>
        [Bindable(true), Category("Appearance"), DefaultValue("")]
        public string HintTitle
        {
            get { return _hintTitle; }
            set { _hintTitle = value; }
        }


        private string _hintInfo = "";
        /// <summary>
        /// 提示框内容
        /// </summary>
        [Bindable(true), Category("Appearance"), DefaultValue("")]
        public string HintInfo
        {
            get { return _hintInfo; }
            set { _hintInfo = value; }
        }

        private int _hintLeftOffSet = 0;

        /// <summary>
        /// 提示框左侧偏移量
        /// </summary>
        [Bindable(true), Category("Appearance"), DefaultValue(0)]
        public int HintLeftOffSet
        {
            get { return _hintLeftOffSet; }
后面还有 60 行代码,购买后查看完整代码

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

AI 解读 AI

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

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