B2019-030 Use FlexableMesageBox instead of MessageBox so that it is always on top.
This commit is contained in:
@@ -10,6 +10,7 @@ using Volian.Base.Library;
|
||||
using Volian.Pipe.Library;
|
||||
using System.Xml;
|
||||
using System.Diagnostics;
|
||||
using JR.Utils.GUI.Forms;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
@@ -276,13 +277,13 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (cbGridAnnoType.SelectedIndex == -1)
|
||||
{
|
||||
MessageBox.Show("You Must Select an Annotation Type", "Annotation Type Not Selected", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
FlexibleMessageBox.Show("You Must Select an Annotation Type", "Annotation Type Not Selected", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
cbGridAnnoType.Focus();
|
||||
return;
|
||||
}
|
||||
if (rtxbComment.Text == string.Empty)
|
||||
{
|
||||
MessageBox.Show("You Must Enter Annotation Text", "Annotation Text Is Blank", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
FlexibleMessageBox.Show("You Must Enter Annotation Text", "Annotation Text Is Blank", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
rtxbComment.Focus();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user