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

@@ -6,6 +6,7 @@ using System.Data.SqlClient;
using System.Text.RegularExpressions;
using Csla;
using Csla.Data;
using JR.Utils.GUI.Forms;
namespace VEPROMS.CSLA.Library
{
@@ -806,8 +807,8 @@ namespace VEPROMS.CSLA.Library
}
catch (Exception ex)
{
if (ex.Message.Contains("Could not find stored procedure"))
System.Windows.Forms.MessageBox.Show("Have your DBA run the latest version of PROMSFixes.SQL", "SQL code is not current", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation);
if (ex.Message.Contains("Could not find stored procedure"))
FlexibleMessageBox.Show("Have your DBA run the latest version of PROMSFixes.SQL", "SQL code is not current", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation);
return null;
}
}