Hidistro.UI.Common.Controls/LinkButtonWrapper.cs

(开头部分) 2KB

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

namespace Hidistro.UI.Common.Controls
{
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    public class LinkButtonWrapper : IButton, IText
    {
        private LinkButton _button;

        public event EventHandler Click
        {
            add
            {
                this._button.Click += value;
            }
            remove
            {
                this._button.Click -= value;
            }
        }

        public event CommandEventHandler Command
        {
            add
            {
                this._button.Command += value;
            }
            remove
            {
                this._button.Command -= value;
            }
        }

        internal LinkButtonWrapper(LinkButton button)
        {
            this._button = button;
        }

        public AttributeCollection Attributes
        {
            get
            {
                return this._button.Attributes;
            }
        }

        public bool CausesValidation
        {
            get
            {
                return this._button.CausesValidation;
            }
            set
            {
                this._button.CausesValidation = value;
            }
        }

        public string CommandArgument
后面还有 57 行代码,购买后查看完整代码

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

AI 解读 AI

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

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