Use FlexibleMessageBox for list of transitions with page number problems
This commit is contained in:
parent
7d43899b0a
commit
346ab74ed0
@ -15,6 +15,7 @@ using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using Volian.Controls.Library;
|
||||
using Volian.Base.Library;
|
||||
using JR.Utils.GUI.Forms;
|
||||
|
||||
namespace Volian.Print.Library
|
||||
{
|
||||
@ -206,11 +207,17 @@ namespace Volian.Print.Library
|
||||
foreach (string pstr in TransPageNumProblems)
|
||||
pnProbl = pnProbl + "\r\n" + pstr;
|
||||
Clipboard.SetText(pnProbl);
|
||||
return MessageBox.Show("Review the page numbers specified on transitions that transition to the following:\n" + pnProbl
|
||||
+ "\r\n\r\nDo you want to review the PDF output prior to the page number update?"
|
||||
+ "\r\n\r\nThis should help to determine the cause of the inconsistent page numbers."
|
||||
+ "\r\n\r\nThis list will be placed in the Clipboard.",
|
||||
"Inconsistent transition page numbers.", MessageBoxButtons.YesNo,MessageBoxIcon.Question);
|
||||
//return MessageBox.Show("Review the page numbers specified on transitions that transition to the following:\n" + pnProbl
|
||||
// + "\r\n\r\nDo you want to review the PDF output prior to the page number update?"
|
||||
// + "\r\n\r\nThis should help to determine the cause of the inconsistent page numbers."
|
||||
// + "\r\n\r\nThis list will be placed in the Clipboard.",
|
||||
// "Inconsistent transition page numbers.", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
return FlexibleMessageBox.Show("The folowing list was placed on the Windows Clipboard."
|
||||
+ "\r\nIt shows the page numbers of the locations that are referenced by transitions."
|
||||
+ "\r\nThis list, along with the PDF, can help you to determine the cause of the inconsistent page numbers."
|
||||
+ "\r\n\r\nDo you want to also review the PDF output prior to the second pass printing?"
|
||||
+ "\r\n\r\n------------------------------\r\n" + pnProbl,
|
||||
"Inconsistent Transition Page Numbers", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
}
|
||||
return DialogResult.No;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user