Inheritance: Zetbox.App.Projekte.Client.Helper.PdfReport
コード例 #1
0
 public static void CreateMappingReport(Zetbox.App.SchemaMigration.MigrationProject obj)
 {
     var fileName = _mdlFactory.GetDestinationFileNameFromUser("Migration Report " + obj.Description + ".pdf", "PDF|*.pdf");
     if (!string.IsNullOrEmpty(fileName))
     {
         var r = new MigrationProjectMappingReport();
         r.CreateReport(obj);
         r.Save(fileName);
         _fileOpener.ShellExecute(fileName);
     }
 }
コード例 #2
0
        public static void CreateMappingReport(Zetbox.App.SchemaMigration.MigrationProject obj)
        {
            var fileName = _mdlFactory.GetDestinationFileNameFromUser("Migration Report " + obj.Description + ".pdf", "PDF|*.pdf");

            if (!string.IsNullOrEmpty(fileName))
            {
                var r = new MigrationProjectMappingReport();
                r.CreateReport(obj);
                r.Save(fileName);
                _fileOpener.ShellExecute(fileName);
            }
        }