private void UpdateReportSetting(int type, string Id, EntityReportSetting entity) { try { svcReportClient svc = new svcReportClient(); svc.UpdateReportSettingCompleted += new EventHandler<UpdateReportSettingCompletedEventArgs>(this.UpdateReportSettingCompleted); svc.UpdateReportSettingAsync(Common.gstrSessionString, type, Id, entity); } catch (Exception ex) { this.ProcessingDlgClose(); ExMessageBox.Show(CLASS_NM + ".UpdateReportSetting" + Environment.NewLine + ex.ToString(), "エラー確認"); } }
private void ReportOut(string rptKbn, string pgId, string parameters) { try { objReport = null; // 初期化 svcReportClient svc = new svcReportClient(); svc.ReportOutCompleted += new EventHandler<ReportOutCompletedEventArgs>(this.ReportOutCompleted); svc.ReportOutAsync(Common.gstrSessionString, rptKbn, pgId, parameters); } catch (Exception ex) { this.ProcessingDlgClose(); ExMessageBox.Show(CLASS_NM + ".ReportOut" + Environment.NewLine + ex.ToString(), "エラー確認"); } }
private void GetReportSetting(string id) { try { objReportSetting = null; // 初期化 svcReportClient svc = new svcReportClient(); svc.GetReportSettingCompleted += new EventHandler<GetReportSettingCompletedEventArgs>(this.GetReportSettingCompleted); svc.GetReportSettingAsync(Common.gstrSessionString, id); } catch (Exception ex) { this.ProcessingDlgClose(); ExMessageBox.Show(CLASS_NM + ".GetReportSetting" + Environment.NewLine + ex.ToString(), "エラー確認"); } }