• Add ability to print all procedures from the command-line.
• Position frmPDFStatusForm below this form. • Close the dialog when all procedures are printed. Position this form at a specific location. Command-Line Print all procedures for a specified DocVersionID
This commit is contained in:
@@ -40,14 +40,15 @@ namespace VEPROMS
|
||||
get { return _OpenPDF; }
|
||||
set { _OpenPDF = value; }
|
||||
}
|
||||
public frmPDFStatusForm(ItemInfo myItem, string rev, string revDate, string watermark, bool debugOutput, bool openPDF, bool overWrite, string pdfPath, ChangeBarDefinition cbd,string pdfFile)
|
||||
private Point _NewLocation;
|
||||
public frmPDFStatusForm(ItemInfo myItem, string rev, string revDate, string watermark, bool debugOutput, bool openPDF, bool overWrite, string pdfPath, ChangeBarDefinition cbd,string pdfFile, Point newLocation)
|
||||
{
|
||||
OpenPDF = openPDF;
|
||||
InitializeComponent();
|
||||
MyPromsPrinter = new PromsPrinter(myItem, rev, revDate, watermark, debugOutput, pdfPath + @"\\Compare", false, overWrite, cbd, pdfFile);//openPDF);
|
||||
PDFPath = pdfPath;
|
||||
this.Text = "Creating PDF of " + myItem.DisplayNumber;
|
||||
|
||||
_NewLocation = newLocation;
|
||||
}
|
||||
void pp_StatusChanged(object sender, PromsPrintStatusArgs args)
|
||||
{
|
||||
@@ -71,6 +72,7 @@ namespace VEPROMS
|
||||
|
||||
private void frmPDFStatusForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
Location = _NewLocation;
|
||||
tmrRun.Enabled = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user