C2026-033 Added logic to not display the Empty Procedure message box if we are printing via baseline print testing. #754

Merged
mschill merged 1 commits from C2026-033_Baseline_Printing into Development 2026-04-15 11:55:23 -04:00
@@ -960,6 +960,8 @@ namespace Volian.Print.Library
OnStatusChanged("After NewPage", PromsPrinterStatusType.NewPage);
if (myProcedure.Sections == null)
{
// C2026-033 if we are running baselines, don't display the empty procedure message box, instead continue on as if OK was pressed.
if (!BaselineTesting)
MessageBox.Show("This procedure has no content and will not be printed.", "Empty Procedure", MessageBoxButtons.OK, MessageBoxIcon.Information);
ProfileTimer.Pop(profileDepth);
// B2024-062 Added check for EmptyProcedure. This is to prevent the Try Again message