Get list of external transitions to children of a procedure
This commit is contained in:
parent
2b47b33ba2
commit
e35ef0615d
@ -795,7 +795,7 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
else if (ex.Message.Contains("has External Transitions to Procedure"))
|
else if (ex.Message.Contains("has External Transitions to Procedure"))
|
||||||
{
|
{
|
||||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(MyID))
|
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(MyID))
|
||||||
{
|
{
|
||||||
DialogResult ans = MessageBox.Show("Transitions exist to this procedure." +
|
DialogResult ans = MessageBox.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\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||||
|
@ -2273,7 +2273,7 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
else if (ex.Message.Contains("has External Transitions to Procedure"))
|
else if (ex.Message.Contains("has External Transitions to Procedure"))
|
||||||
{
|
{
|
||||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(ii.ItemID))
|
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(ii.ItemID))
|
||||||
{
|
{
|
||||||
DialogResult ans = MessageBox.Show("Transitions exist to this procedure and cannot be adjusted automatically." +
|
DialogResult ans = MessageBox.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\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user