Beispiel #1
0
 /// <summary>
 /// Raises the <see cref="E:PageIndexOrPageSizeChanged"/> event.
 /// </summary>
 /// <param name="e">The <see cref="T:Emedchina.Commons.WinForms.PageChangedEventArgs"/> instance containing the event data.</param>
 virtual protected void OnPageIndexOrPageSizeChanged(PageChangedEventArgs e)
 {
     if (PageIndexOrPageSizeChanged != null)
     {
         PageIndexOrPageSizeChanged(this, e);
     }
 }
 private void pageNavigator_PageIndexOrPageSizeChanged(object source, PageChangedEventArgs e)
 {
     LoadData();
 }
Beispiel #3
0
 /// <summary>
 /// 翻页
 /// </summary>
 /// <param name="source"></param>
 /// <param name="e"></param>
 private void pageNavigator1_PageIndexOrPageSizeChanged(object source, Emedchina.Commons.WinForms.PageChangedEventArgs e)
 {
     InitGridTableView(pageNavigator1.CurrentPageIndex, pageNavigator1.PageSize);
     EmedbindingSource.DataSource = base.gridDataView;
     pageNavigator1.ItemCount     = base.cachedDataView.Count;
 }