private void UpdateInvoiceBalance(int type, ObservableCollection<EntityInvoiceBalance> entity) { try { svcInvoiceBalanceClient svc = new svcInvoiceBalanceClient(); svc.UpdateInvoiceBalanceCompleted += new EventHandler<UpdateInvoiceBalanceCompletedEventArgs>(this.UpdateInvoiceBalanceCompleted); svc.UpdateInvoiceBalanceAsync(Common.gstrSessionString, type, entity); } catch (Exception ex) { this.ProcessingDlgClose(); ExMessageBox.Show(CLASS_NM + ".UpdateInvoiceBalance" + Environment.NewLine + ex.ToString(), "エラー確認"); } }
private void GetInvoiceBalanceList(string strWhereSql, string strOrderBySql) { try { objInvoiceBalanceList = null; // 初期化 svcInvoiceBalanceClient svc = new svcInvoiceBalanceClient(); svc.GetInvoiceBalanceListCompleted += new EventHandler<GetInvoiceBalanceListCompletedEventArgs>(this.GetInvoiceBalanceListCompleted); svc.GetInvoiceBalanceListAsync(Common.gstrSessionString, strWhereSql, strOrderBySql); } catch (Exception ex) { this.ProcessingDlgClose(); ExMessageBox.Show(CLASS_NM + ".GetInvoiceBalanceList" + Environment.NewLine + ex.ToString(), "エラー確認"); } }