C2019-024 Turn on User Manual option in the help drop down menu
This commit is contained in:
@@ -4143,6 +4143,9 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
|
||||
// C2019-024 Display the PROMS User Manual when user click on the option in the Help drop down menu
|
||||
// PROMS looks for "PROMSmanual.pdf" in the executable folder. If not found, a message box
|
||||
// will display.
|
||||
private void btnHelpManual_Click(object sender, EventArgs e)
|
||||
{
|
||||
string promsUserManual = System.Windows.Forms.Application.StartupPath + @"\PROMSManual.pdf";
|
||||
@@ -4155,13 +4158,13 @@ namespace VEPROMS
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("The PROMS User Manual is not available for viewing.\nDetails in the error log.", "View User Manual");
|
||||
MessageBox.Show("The PROMS User Manual is not available for viewing.\nDetails are in the error log.", "View User Manual");
|
||||
_MyLog.WarnFormat("PROMS User Manual not found: {0}", promsUserManual);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("Could not open the PROMS User Manual.\nDetails in the error log.", "View User Manual");
|
||||
MessageBox.Show("Could not open the PROMS User Manual.\nDetails are in the error log.", "View User Manual");
|
||||
string str = string.Format("Could not open {0}", promsUserManual);
|
||||
_MyLog.Error(str,ex);
|
||||
}
|
||||
|
Reference in New Issue
Block a user