private void ucPage1_onPageDown()
{
if (curPage >= ucPage1.PageCount)
{
XtraMessageBox.Show("当前已经是最后一页了!", "友情提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
curPage ;
InitCorpList();
}
}
private void ucPage1_onPageGoFirst()
{
curPage = 1;
InitCorpList();
}
private void ucPage1_onPageGoLast()
{
curPage = this.ucPage1.PageCount;
InitCorpList();
}
private void ucPage1_onPageUp()
{
if (curPage <= 1)
{
XtraMessageBox.Show("当前已经是第一页了!", "友情提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
curPage--;
InitCorpList();
}
}