Modified to use newly created ProcedureInfo property PDFNumber

Modified to standardize naming of summary of changes report
Added method to delete existing pdf when creating a new pdf of same name
Created error handler to warn user when trying to view pdf file already open
Created new ProcedureInfo property PDFNumber to handle slashes in procedure number
Corrected error in ResolvePathTo method of TranistionInfo class
This commit is contained in:
Rich committed 2013-04-10 14:21:07 +00:00
1 parent a7c689f23a
commit ca6c80487c
5 files changed
+107 -18

No files matched your search

@@ -271,10 +271,7 @@ namespace VEPROMS
if (ProcNum == string.Empty)
txbPDFName.Text = this.UnitNumber + ".pdf";
else
{
string slashReplace = _MyProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.SlashReplace ?? "_";
txbPDFName.Text = string.Format("{0}.pdf", ProcNum.Replace("/", slashReplace).Replace("\\", slashReplace));
}
txbPDFName.Text = string.Format("{0}.pdf", _MyProcedure.PDFNumber);
if (txbPDFName.Text.StartsWith("*"))
txbPDFName.Text = txbPDFName.Text.Replace("*", this.UnitNumber);
ProcedureConfig pc = _MyProcedure.MyConfig as ProcedureConfig;