Esempio n. 1
0
 private void btnRefresh_Click(object sender, EventArgs e)
 {
     if (Page_Change != null)
     {
         var args = new PageIndex_Change_EventArgs(PageSize, txtCurrentPageIndex.Value);
         Page_Change.Invoke(sender, args);
     }
 }
Esempio n. 2
0
 public void RefreshData()
 {
     if (Page_Change != null)
     {
         var args = new PageIndex_Change_EventArgs(PageSize, _CurrentPageIndex);
         Page_Change.Invoke(new object(), args);
         txtCurrentPageIndex.Refresh();
     }
 }