示例#1
0
 protected void OnExportAll(PageEventArgs args)
 {
     if (mExportAll != null)
     {
         mExportAll(this, args);
     }
 }
示例#2
0
 protected void OnExportCurrent(PageEventArgs args)
 {
     if (mExportCurrent != null)
     {
         mExportCurrent(this, args);
     }
 }
示例#3
0
 protected void OnPageChanged(PageEventArgs e)
 {
     if (mPageChanged != null)
     {
         mPageChanged(this, e);
     }
 }
示例#4
0
 private void pageCtrl_PageChanged(object sender, PageEventArgs args)
 {
     if (mDataGridView != null)
     {
         this.mDataGridView.OffsetIndex = args.StartIndex - 1;
         this.mDataGridView.Rows.Clear();
     }
 }
示例#5
0
        private void btnExportAll_Click(object sender, EventArgs e)
        {
            PageEventArgs args = new PageEventArgs(mCurrentPage, mTotalRecords, mRecordsPerPage, mTotalPage);

            OnExportAll(args);
        }
示例#6
0
        private void DoPageChanged()
        {
            PageEventArgs args = new PageEventArgs(mCurrentPage, mTotalRecords, mRecordsPerPage, mTotalPage);

            OnPageChanged(args);
        }