check for NULL in displaying the Procedure Info dialog

Logic to support pagelist tokens inside conditional Procedure Information pagelist tokens
This commit is contained in:
2012-10-09 17:27:19 +00:00
parent 4b5b7b8200
commit 5bae7073f9
2 changed files with 228 additions and 176 deletions

View File

@@ -84,7 +84,7 @@ namespace VEPROMS
this.Controls.Add(cb);
}
}
if (psiDialogDef.ButtonsOnBottom.ToUpper() == "NO")
if (psiDialogDef.ButtonsOnBottom == null || psiDialogDef.ButtonsOnBottom.ToUpper() == "NO")
{
btnOk.Location = new Point(maxx+20, 30);
btnCancel.Location = new Point(maxx + 20, 60);