Fixed issue where version number was not displaying.

This commit is contained in:
John Jenko 2014-09-03 13:17:49 +00:00
parent 8c727377f3
commit 3ff3ea45c9

View File

@ -32,7 +32,7 @@ namespace VEPROMS
string databaseName = Database.SelectedDatabase;
this.Text = String.Format("About {0}", AssemblyTitle + " " + demoTxt);
this.labelProductName.Text = AssemblyProduct;
this.labelVersion.Text = String.Format("Version {0}", (demoTxt.Equals(""))? AssemblyVersion : demoTxt);
this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
this.labelVersionDateTime.Text = String.Format("Build Date: {0}", buildDateTime.ToString());
this.labelCopyright.Text = String.Format("Copyright © {0}. All Rights Reserved.", buildDateTime.Year.ToString());
this.labelCompanyName.Text = AssemblyCompany;