Esempio n. 1
0
 private void popupEditOtherIn_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     try
     {
         inoutHelper.ClickPopup(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);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 加载数据
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void popupContainerProduceIn_Properties_Popup(object sender, EventArgs e)
 {
     try
     {
         inoutHelper.ClickPopup(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);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// 加载生产单
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void popupProduceInBill_Popup(object sender, EventArgs e)
 {
     try
     {
         inoutHelper.ClickPopup(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);
     }
 }
Esempio n. 4
0
 /// <summary>
 /// 加载数据
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void popupContainerSelledReturn_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     try
     {
         inoutHelper.ClickPopup(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);
     }
 }