예제 #1
0
 /// <summary>
 /// 尾页
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barBtnProduceBillLastPage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         inoutHelper.LoadLastPage(barEditPageNo, barBtnProduceBillFirstPage, barBtnProduceBillForwardPage, barBtnProduceBillNextPage, barBtnProduceBillLastPage
                                  , barBtnProduceBillSkipPage, gcProduceInProduct, gvProduceInProduct, (int)InOutType.ProduceIn);
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message, Constants.SYSTEM_PROMPT, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #2
0
 /// <summary>
 /// 尾页
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barBtnLastPage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         inoutHelper.LoadLastPage(barEditSRPageNo, barBtnFirstPage, barBtnForwardPage, barBtnNextPage, barBtnLastPage, barBtnSkipPage
                                  , gcSelledReturnInBill, gvSelledReturnInBill, (int)InOutType.SelledReturnIn);
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message, Constants.SYSTEM_PROMPT, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }