private void UpdateCondition(ObservableCollection<EntityCondition> entity) { try { svcConditionClient svc = new svcConditionClient(); svc.UpdateConditionCompleted += new EventHandler<UpdateConditionCompletedEventArgs>(this.UpdateConditionCompleted); svc.UpdateConditionAsync(Common.gstrSessionString, entity); } catch (Exception ex) { this.ProcessingDlgClose(); ExMessageBox.Show(CLASS_NM + ".UpdateCondition" + Environment.NewLine + ex.ToString(), "エラー確認"); } }
private void GetCondition() { try { objCondition = null; // 初期化 svcConditionClient svc = new svcConditionClient(); svc.GetConditionCompleted += new EventHandler<GetConditionCompletedEventArgs>(this.GetConditionCompleted); svc.GetConditionAsync(Common.gstrSessionString); } catch (Exception ex) { this.ProcessingDlgClose(); ExMessageBox.Show(CLASS_NM + ".GetCondition" + Environment.NewLine + ex.ToString(), "エラー確認"); } }