B2019-030 Use FlexableMesageBox instead of MessageBox so that it is always on top.

This commit is contained in:
2019-03-07 18:02:31 +00:00
parent 7e4770d76d
commit 17260519e3
25 changed files with 238 additions and 218 deletions

View File

@@ -5,6 +5,7 @@ using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.Drawing;
using Volian.Base.Library;
using JR.Utils.GUI.Forms;
// This was moved from volian.controls.library
namespace VEPROMS.CSLA.Library
@@ -2220,7 +2221,7 @@ namespace VEPROMS.CSLA.Library
if (!DidMsgBox) // only put the message box out once.
{
DidMsgBox = true;
MessageBox.Show(string.Format("{0} does not have Referenced Object Path set.",myDocVersion.MyFolder.Name), "No RO Path Set", MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
FlexibleMessageBox.Show(string.Format("{0} does not have Referenced Object Path set.", myDocVersion.MyFolder.Name), "No RO Path Set", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
return myROFst==null?false:myROFst.IsSetpointDB(dbid, myDocVersion);