Exemplo n.º 1
0
 /// <summary>
 /// 跳转
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barBtnOtherInBillSkipPage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         inoutHelper.LoadSkipPage(barEditOtherInBillPageNo, barBtnOtherInBillFirstPage, barBtnOtherInBillForwardPage, barBtnOtherInBillNextPage, barBtnOtherInBillLastPage
                                  , barBtnOtherInBillSkipPage, gcOtherInBill, gvOtherInBill, (int)InOutType.OtherIn);
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message, Constants.SYSTEM_PROMPT, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 跳转
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barBtnProSoldOutSkipPage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         inoutHelper.LoadSkipPage(barEditPageNo, barBtnProSoldOutFirstPage, barBtnProSoldOutForwardPage, barBtnProSoldOutNextPage, barBtnProSoldOutLastPage
                                  , barBtnProSoldOutSkipPage, gcProSoldOut, gvProSoldOut, (int)InOutType.SaleOut);
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message, Constants.SYSTEM_PROMPT, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }