コード例 #1
0
        public P9BPDFBuilder(string ResourcePath, P9BReportModel P9BModel, string FileName)
        {
            if (P9BModel == null)
            {
                throw new ArgumentNullException("P9BReportModel is null");
            }
            _ViewModel = P9BModel;

            sFilePDF = FileName;

            _resourcePath = ResourcePath;
        }
コード例 #2
0
 public bool ShowP9B(P9BReportModel p9B, string sFilePDF)
 {
     bRet = false;
     try
     {
         P9BPDFBuilder p9BMaker = new P9BPDFBuilder(resourcePath, p9B, sFilePDF);
         p9BMaker.GetP9BPDF();
         return(true);
     }
     catch (Exception ex)
     {
         Utils.ShowError(ex);
         return(false);
     }
 }