Fork me on GitHub

AspNetPager Ô´´úÂë ¡ª events.cs


 //AspNetPager分页控件源代码:
//版权所有:陕西省延安市吴起县博杨计算机有限公司 杨涛(Webdiyer)
//此源代码仅供学习参考,不得用于任何商业用途;
//您可以修改并重新编译该控件,但源代码中的版权信息必须原样保留!
//有关控件升级及新控件发布信息,请留意 www.webdiyer.com 。


using System;

namespace Wuqi.Webdiyer
{
    public partial class AspNetPager
    {

        /// <include file='AspNetPagerDocs.xml' path='AspNetPagerDoc/Event[@name="PageChanging"]/*'/>
        public event PageChangingEventHandler PageChanging
        {
            add
            {
                Events.AddHandler(EventPageChanging, value);
            }
            remove
            {
                Events.RemoveHandler(EventPageChanging, value);
            }
        }

        /// <include file='AspNetPagerDocs.xml' path='AspNetPagerDoc/Event[@name="PageChanged"]/*'/>
        public event EventHandler PageChanged
        {
            add
            {
                Events.AddHandler(EventPageChanged, value);
            }
            remove
            {
                Events.RemoveHandler(EventPageChanged, value);
            }
        }
    }
}