This commit is contained in:
parent
1966e05e01
commit
16346b9525
@ -60,13 +60,13 @@ namespace VEPROMS
|
|||||||
set { _OpenPDF = value; }
|
set { _OpenPDF = value; }
|
||||||
}
|
}
|
||||||
private Point _NewLocation;
|
private Point _NewLocation;
|
||||||
public frmPDFStatusForm(ItemInfo myItem, string rev, string revDate, string watermark, bool debugOutput, bool origPgBrk, bool openPDF, bool overWrite, string pdfPath, ChangeBarDefinition cbd,string pdfFile, Point newLocation)
|
public frmPDFStatusForm(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, bool openPDF, bool overWrite, string pdfPath, ChangeBarDefinition cbd,string pdfFile, Point newLocation)
|
||||||
{
|
{
|
||||||
OpenPDF = openPDF;
|
OpenPDF = openPDF;
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
// if the version number of PROMS is 1.0, then we are running a Demo version.
|
// if the version number of PROMS is 1.0, then we are running a Demo version.
|
||||||
// When running a Demo version, force a "Sample" watermark when printing.
|
// When running a Demo version, force a "Sample" watermark when printing.
|
||||||
MyPromsPrinter = new PromsPrinter(myItem, rev, revDate, (VlnSettings.ReleaseMode.Equals("DEMO")) ? "Sample" : watermark, debugOutput, origPgBrk, pdfPath + @"\\Compare", false, overWrite, cbd, pdfFile);//openPDF);
|
MyPromsPrinter = new PromsPrinter(myItem, rev, (VlnSettings.ReleaseMode.Equals("DEMO")) ? "Sample" : watermark, debugOutput, origPgBrk, pdfPath + @"\\Compare", false, overWrite, cbd, pdfFile);//openPDF);
|
||||||
PDFPath = pdfPath;
|
PDFPath = pdfPath;
|
||||||
this.Text = "Creating PDF of " + myItem.DisplayNumber;
|
this.Text = "Creating PDF of " + myItem.DisplayNumber;
|
||||||
_NewLocation = newLocation;
|
_NewLocation = newLocation;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user