if running a Demo (demo CD/DVD) version, version is set to Demo and it will display the demo EULA

Will force a “SAMPLE” watermark when running a Demo version (demo CD/DVD)
if running a Demo (demo CD/DVD) display the demo EULA the first time PROMS is run
gets for ReleaseMode and EULA file names
Disable RO Editor when running a Demo version
This commit is contained in:
2012-06-14 14:21:57 +00:00
parent 46b11369e6
commit 2be97c8cfd
6 changed files with 75 additions and 5 deletions

View File

@@ -463,7 +463,8 @@ namespace VEPROMS
}
private DialogResult ShowEULA()
{
string strEULA = System.Environment.CurrentDirectory + "\\EULA.TXT";
string eulaFile = string.Format(@"\{0}", VlnSettings.EULAfile);
string strEULA = System.Environment.CurrentDirectory + eulaFile;
frmViewTextFile ViewFile = new frmViewTextFile(strEULA, RichTextBoxStreamType.PlainText);
ViewFile.Text = "End-User License Agreement";
ViewFile.ButtonText = "Agree";