Example #1
0
 /// <summary>
 /// Raise PageChanged event.
 /// </summary>
 private void RaisePageChanged()
 {
     if (_pageChangedEventArgs == null)
     {
         _pageChangedEventArgs = new PageChangedEventArgs(PageChangedEvent, PageSize, PageIndex);
     }
     else
     {
         _pageChangedEventArgs.PageSize  = PageSize;
         _pageChangedEventArgs.PageIndex = PageIndex;
     }
     RaiseEvent(_pageChangedEventArgs);
 }
 /// <summary>
 /// Page changed event.
 /// </summary>
 /// <param name="sender">event sender</param>
 /// <param name="args">event args</param>
 private void DataPagePicker_PageChanged(object sender, PageChangedEventArgs args)
 {
     RaiseDoSearch( );
 }
 /// <summary>
 /// Page changed event.
 /// </summary>
 /// <param name="sender">event sender</param>
 /// <param name="args">event args</param>
 private void DataPagePicker_PageChanged( object sender, PageChangedEventArgs args ) {
     RaiseDoSearch( );
 }
 /// <summary>
 /// Raise PageChanged event.
 /// </summary>
 private void RaisePageChanged() {
     if( _pageChangedEventArgs == null ) {
         _pageChangedEventArgs = new PageChangedEventArgs( PageChangedEvent, PageSize, PageIndex );
     } else {
         _pageChangedEventArgs.PageSize = PageSize;
         _pageChangedEventArgs.PageIndex = PageIndex;
     }
     RaiseEvent( _pageChangedEventArgs );
 }