Using the FlexibleMessageBox for all of those displaying a list of references to check
This commit is contained in:
parent
0a38b8c295
commit
8d062dc49b
@ -7,6 +7,7 @@ using System.Text.RegularExpressions;
|
||||
using Csla;
|
||||
using Csla.Data;
|
||||
using System.Windows.Forms;
|
||||
using JR.Utils.GUI.Forms;
|
||||
|
||||
namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
@ -39,7 +40,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(ItemID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to this step and cannot be adjusted automatically." +
|
||||
DialogResult ans = FlexibleMessageBox.Show("Transitions exist to this step and cannot be adjusted automatically." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
"\r\n\r\nSubsteps with Problem Transitions" +
|
||||
exTrans.Summarize(),
|
||||
@ -54,7 +55,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(ItemID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to this procedure and cannot be adjusted automatically." +
|
||||
DialogResult ans = FlexibleMessageBox.Show("Transitions exist to this procedure and cannot be adjusted automatically." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
"\r\n\r\nSubsteps with Problem Transitions" +
|
||||
exTrans.Summarize(),
|
||||
@ -69,7 +70,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(ItemID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to substeps of this step and cannot be adjusted automatically." +
|
||||
DialogResult ans = FlexibleMessageBox.Show("Transitions exist to substeps of this step and cannot be adjusted automatically." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
"\r\n\r\nSubsteps with Problem Transitions:" +
|
||||
exTrans.Summarize(),
|
||||
|
@ -8,6 +8,7 @@ using System.Windows.Forms;
|
||||
using System.Text.RegularExpressions;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using Volian.Base.Library;
|
||||
using JR.Utils.GUI.Forms;
|
||||
|
||||
namespace Volian.Controls.Library
|
||||
{
|
||||
@ -833,7 +834,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(MyID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to this step and cannot be adjusted automatically." +
|
||||
DialogResult ans = FlexibleMessageBox.Show("Transitions exist to this step and cannot be adjusted automatically." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
"\r\n\r\nSubsteps with Problem Transitions" +
|
||||
exTrans.Summarize(),
|
||||
@ -851,7 +852,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(MyID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to this procedure." +
|
||||
DialogResult ans = FlexibleMessageBox.Show("Transitions exist to this procedure." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
"\r\n\r\nSubsteps with Problem Transitions" +
|
||||
exTrans.Summarize(),
|
||||
@ -869,7 +870,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(MyID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to substeps of this step and cannot be adjusted automatically." +
|
||||
DialogResult ans = FlexibleMessageBox.Show("Transitions exist to substeps of this step and cannot be adjusted automatically." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
"\r\n\r\nSubsteps with Problem Transitions:" +
|
||||
exTrans.Summarize(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user