1 /* AspNetPager version 7.3.2
2 Copyright (C) 2003-2010 Webdiyer(http://en.webdiyer.com)
3
4 This file is part of AspNetPager.
5
6 AspNetPager is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 AspNetPager is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with AspNetPager. If not, see <http://www.gnu.org/licenses/>.
18 */
17
18 using System;
19
20 namespace Wuqi.Webdiyer
21 {
22 public partial class AspNetPager
23 {
24
25 /// <include file='AspNetPagerDocs.xml' path='AspNetPagerDoc/Event[@name="PageChanging"]/*'/>
26 public event PageChangingEventHandler PageChanging
27 {
28 add
29 {
30 Events.AddHandler(EventPageChanging, value);
31 }
32 remove
33 {
34 Events.RemoveHandler(EventPageChanging, value);
35 }
36 }
37
38 /// <include file='AspNetPagerDocs.xml' path='AspNetPagerDoc/Event[@name="PageChanged"]/*'/>
39 public event EventHandler PageChanged
40 {
41 add
42 {
43 Events.AddHandler(EventPageChanged, value);
44 }
45 remove
46 {
47 Events.RemoveHandler(EventPageChanged, value);
48 }
49 }
50 }
51 }