B2013-185 Use the FlexibleMessageBox for the list of affected transitions when the applicability is changed, so that a scroll bar will appear when the list is long

This commit is contained in:
John Jenko 2017-01-24 18:43:41 +00:00
parent c70c8a574f
commit ee189b7212

View File

@ -6,6 +6,7 @@ using System.Data;
using System.Text;
using System.Windows.Forms;
using VEPROMS.CSLA.Library;
using JR.Utils.GUI.Forms;
namespace Volian.Controls.Library
{
@ -230,7 +231,9 @@ namespace Volian.Controls.Library
sb.AppendLine();
foreach (InvalidTransition inv in invalidTrans)
sb.AppendLine(string.Format("From {0} to {1}", inv.SrcStep, inv.TgtStep));
MessageBox.Show(sb.ToString());
// MessageBox.Show(sb.ToString());
// B2013-185 use FlexibleMessageBox to display a long list with a scoll bar
FlexibleMessageBox.Show(sb.ToString(), "Transitions Affected By Appicability Change");
MyItemInfo = MyItemInfo;
}
//using (Content cnt = Content.Get(MyItemInfo.MyContent.ContentID))