コード例 #1
0
 /// <summary>
 /// 首页
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barBtnOtherInBillFirstPage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         inoutHelper.LoadFirstPage(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);
     }
 }
コード例 #2
0
 /// <summary>
 /// 首页
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barBtnProSoldOutFirstPage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         inoutHelper.LoadFirstPage(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);
     }
 }