Provide the option to display the PDF before the Page Number Transitions were updated to help the process of correcting pagination.

Fix the inheritance lookup for Transtitions
This commit is contained in:
Rich
2014-09-30 20:26:47 +00:00
parent 3b921bed4a
commit 8b9a092708
3 changed files with 28 additions and 4 deletions

View File

@@ -131,7 +131,13 @@ namespace VEPROMS
this.Close();
return;
}
if (!CancelStop) PromsPrinter.ReportTransPageNumProblems();
if (!CancelStop)
{
if (PromsPrinter.ReportTransPageNumProblems() == DialogResult.Yes && MyPromsPrinter.BeforePageNumberPdf != null)
{
System.Diagnostics.Process.Start(MyPromsPrinter.BeforePageNumberPdf);
}
}
DateTime tEnd = DateTime.Now;
MyStatus = _PdfFile + " created.";
MyStatus = string.Format("{0} created in {1:0.} milliseconds", _PdfFile, (TimeSpan.FromTicks(tEnd.Ticks - tStart.Ticks).TotalMilliseconds));