コード例 #1
0
 private void Check_Distination_Account()
 {
     if (pgb_check_distination.Value != 100)
     {
         var Bll_CheckDistination = new BLL <stp_acc_inv_check_account_of_destinationResult>();
         if (!Bll_CheckDistination.DoDataBaseOperation(new stp_acc_inv_check_account_of_destinationResult()
         {
             inv_document_no = MaxSelectedNo
         }))
         {
             Form_Acc_Ahart_Account = new frm_acc_chart_account();
             Form_Acc_Ahart_Account.ShowDialog();
             return;
         }
         //progressbar(pgb_check_distination);
         pgb_check_distination.XProgress();
     }
     Calculate_Price_Of_Receive_And_Send();
 }
コード例 #2
0
 private void Check_Store_Account()
 {
     if (pgb_check_store.Value != 100)
     {
         var Bll_CheckStore = new BLL <stp_acc_inv_check_account_of_storeResult>();
         if (!Bll_CheckStore.DoDataBaseOperation(new stp_acc_inv_check_account_of_storeResult()
         {
             inv_document_no = MaxSelectedNo
         }))
         {
             Form_Acc_Ahart_Account = new frm_acc_chart_account();
             Form_Acc_Ahart_Account.ShowDialog();
             return;
         }
         //progressbar(pgb_check_store);
         pgb_check_store.XProgress();
     }
     Check_Distination_Account();
 }