Placekeeper logic
Added Checkbox to generate the Placekeeper Generate Placekeeper logic Disable the “include in placekeeper” checkbox on Placekeeper section types
This commit is contained in:
@@ -106,6 +106,13 @@ namespace VEPROMS
|
||||
|
||||
private string _PdfFile;
|
||||
|
||||
private bool _MakePlaceKeeper = false;
|
||||
|
||||
public bool MakePlaceKeeper
|
||||
{
|
||||
get { return _MakePlaceKeeper; }
|
||||
set { _MakePlaceKeeper = value; }
|
||||
}
|
||||
private void tmrRun_Tick(object sender, EventArgs e)
|
||||
{
|
||||
tmrRun.Enabled = false;
|
||||
@@ -116,7 +123,7 @@ namespace VEPROMS
|
||||
if (!CancelStop) PromsPrinter.ClearTransPageNumProblems();
|
||||
do
|
||||
{
|
||||
_PdfFile = MyPromsPrinter.Print(PDFPath);
|
||||
_PdfFile = MyPromsPrinter.Print(PDFPath, MakePlaceKeeper);
|
||||
}
|
||||
while (_PdfFile == null && MessageBox.Show("Try Again?", "PDF Creation Failed", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes);
|
||||
if (_PdfFile == null)
|
||||
|
Reference in New Issue
Block a user