B2017-009 - When you printed from the V Button (Non-PC PC) Procedures the code would crash. This has been fixed.

This commit is contained in:
Rich 2017-01-19 21:34:06 +00:00
parent dc7a2a7273
commit 19971f3301

View File

@ -824,7 +824,9 @@ namespace VEPROMS
else else
{ {
// B2016-249 Output Procedure to folder associated with Parent Child // B2016-249 Output Procedure to folder associated with Parent Child
_MultiunitPdfLocation = cbxMultiunitPdfLocation.SelectedItem.ToString(); // B2017-009 If the selected item is null don't add a folder
if(cbxMultiunitPdfLocation.SelectedItem != null)
_MultiunitPdfLocation = cbxMultiunitPdfLocation.SelectedItem.ToString();
this.Cursor = Cursors.WaitCursor; this.Cursor = Cursors.WaitCursor;
CreatePDF(); CreatePDF();
this.Cursor = Cursors.Default; this.Cursor = Cursors.Default;