B2019-030 Use FlexableMesageBox instead of MessageBox so that it is always on top.
This commit is contained in:
@@ -10,6 +10,7 @@ using DevComponents.DotNetBar;
|
||||
using DevComponents.AdvTree;
|
||||
using Volian.Base.Library;
|
||||
using System.Text.RegularExpressions;
|
||||
using JR.Utils.GUI.Forms;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
@@ -339,7 +340,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
if (lstCheckedDocVersions.Count > 0)
|
||||
{
|
||||
if (MessageBox.Show(this, "Do you want to expand to all relevant procedure sets for the selected format?", "Expand Procedure Sets", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
if (FlexibleMessageBox.Show(this, "Do you want to expand to all relevant procedure sets for the selected format?", "Expand Procedure Sets", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
lstCheckedDocVersions.Clear();
|
||||
foreach (DevComponents.AdvTree.Node n in dicSelectedFolderNodes.Keys)
|
||||
@@ -1326,7 +1327,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (lstCheckedStepTypes.Count == 0)
|
||||
{
|
||||
MessageBox.Show("Please select one or more types then press the Search button", "No Types Selected");
|
||||
FlexibleMessageBox.Show("Please select one or more types then press the Search button", "No Types Selected");
|
||||
xpStepTypes.Expanded = true;
|
||||
advTreeStepTypes.Focus();
|
||||
xpStepTypes.TitleStyle.BackColor1.Color = Color.Crimson;
|
||||
@@ -1431,7 +1432,7 @@ namespace Volian.Controls.Library
|
||||
DisplayResults();
|
||||
if (SearchResults != null && SearchResults.Count == 0)
|
||||
{
|
||||
MessageBox.Show("No Matches Found.", "Search");
|
||||
FlexibleMessageBox.Show("No Matches Found.", "Search");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1442,7 +1443,7 @@ namespace Volian.Controls.Library
|
||||
string tmpmsg = (cbxBooleanTxtSrch.Checked && ex.Message.Contains("Syntax error") && ex.Message.Contains("full-text search")) ?
|
||||
"Place \"\" around words that you are searching for, so that parser can better understand what you are trying to find" :
|
||||
ex.Message;
|
||||
MessageBox.Show(tmpmsg, "Search Error: " + ex.GetType().Name);
|
||||
FlexibleMessageBox.Show(tmpmsg, "Search Error: " + ex.GetType().Name);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -1872,7 +1873,7 @@ namespace Volian.Controls.Library
|
||||
SymbolList sl = fmtdata.SymbolList;
|
||||
if (sl == null || sl.Count <= 0)
|
||||
{
|
||||
MessageBox.Show("No symbols are available, check with administrator");
|
||||
FlexibleMessageBox.Show("No symbols are available, check with administrator");
|
||||
return;
|
||||
}
|
||||
foreach (Symbol sym in sl)
|
||||
@@ -2277,7 +2278,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
Clipboard.Clear();
|
||||
Clipboard.SetText(sb.ToString());
|
||||
MessageBox.Show("Results Copied to Clipboard", "Copy Results", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
FlexibleMessageBox.Show("Results Copied to Clipboard", "Copy Results", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
private string _ReportTitle;
|
||||
public string ReportTitle
|
||||
|
Reference in New Issue
Block a user