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:
@@ -740,6 +740,11 @@ namespace Volian.Controls.Library
|
||||
private void lbROId_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
if (tvROFST.SelectedNode == null) return;
|
||||
if (VlnSettings.ReleaseMode.Equals("DEMO"))
|
||||
{
|
||||
MessageBox.Show("Referenced Object Editor not available in the Demo version.", "PROMS Demo Version");
|
||||
return;
|
||||
}
|
||||
string roapp = Environment.GetEnvironmentVariable("roapp");
|
||||
Object obj = tvROFST.SelectedNode.Tag;
|
||||
if (obj is ROFSTLookup.rochild)
|
||||
@@ -769,6 +774,11 @@ namespace Volian.Controls.Library
|
||||
|
||||
private void RunRoEditor()
|
||||
{
|
||||
if (VlnSettings.ReleaseMode.Equals("DEMO"))
|
||||
{
|
||||
MessageBox.Show("Referenced Object Editor not available in the Demo version.", "PROMS Demo Version");
|
||||
return;
|
||||
}
|
||||
string roapp = Environment.GetEnvironmentVariable("roapp");
|
||||
Object obj = tvROFST.SelectedNode.Tag;
|
||||
if (obj is ROFSTLookup.rochild)
|
||||
|
Reference in New Issue
Block a user