private void GetInvoiceReceipt(long invoiceNo, long receiptNo)
 {
     try
     {
         objInvocieReceipt = null;   // 初期化
         svcInvoiceCloseClient svc = new svcInvoiceCloseClient();
         svc.GetPaymentCashInCompleted += new EventHandler<GetPaymentCashInCompletedEventArgs>(this.GetPaymentCashInCompleted);
         svc.GetPaymentCashInAsync(Common.gstrSessionString, invoiceNo, receiptNo);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".GetPaymentCashIn" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
 private void GetInvoiceList(string strWhereSql, string strOrderBySql)
 {
     try
     {
         objInvoiceList = null;   // 初期化
         svcInvoiceCloseClient svc = new svcInvoiceCloseClient();
         svc.GetInvoiceListCompleted += new EventHandler<GetInvoiceListCompletedEventArgs>(this.GetInvoiceListCompleted);
         svc.GetInvoiceListAsync(Common.gstrSessionString, strWhereSql, strOrderBySql);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".GetInvoiceList" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
 private void UpdateInvoicePrint(int type, ObservableCollection<EntityInvoiceClose> entity)
 {
     try
     {
         svcInvoiceCloseClient svc = new svcInvoiceCloseClient();
         svc.UpdateInvoicePrintAsync(Common.gstrSessionString, type, entity);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".UpdateInvoicePrint" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
 private void GetInvoiceTotal(EntityInvoiceClosePrm entityPrm)
 {
     try
     {
         objClass = null;   // 初期化
         svcInvoiceCloseClient svc = new svcInvoiceCloseClient();
         svc.GetInvoiceTotalCompleted += new EventHandler<GetInvoiceTotalCompletedEventArgs>(this.GetInvoiceTotalCompleted);
         svc.GetInvoiceTotalAsync(Common.gstrSessionString, entityPrm);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".GetInvoiceTotal" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }