B2018-002 Handle Range Transitions for Invalid Transitions
Add a prefix to transitions converted to text which were invalid B2018-002 Add counters for invalid transitions converted to text. Added a method to convert invalid transitions to text B2018-002 Cleanup debug B2018-002 Changed the panel so that it only requires a default section if the default is not set and it is required B2018-010 Logic fixed to display the Requires Default tooltip only when it is required. B2018-002 Fix invalid transitions when a step is activated. B2018-002 Don't fail when you open a step with an invalid transition. B2018-002 Display Transition Refresh Statistics
This commit is contained in:
@@ -3317,22 +3317,22 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private void btnTranRefresh_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
// This code is disabled - Button is not visible
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
ProcedureInfo.RefreshTransitions(MyItemInfo.MyProcedure as ProcedureInfo);
|
||||
this.Cursor = Cursors.Default;
|
||||
// B2018-002 - Invalid Transitions - Display Transition Refresh Statistics
|
||||
//MessageBox.Show(this, string.Format("Checked {0} transitions, modified {1} transitions, converted to text {2} transitions", ProcedureInfo.TranCheckCount, ProcedureInfo.TranFixCount, ProcedureInfo.TranConvertCount), "Results of Refresh Transitions", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
MessageBox.Show(this, string.Format("Checked {0} transitions, modified {1} transitions, converted to text {2} transitions", ProcedureInfo.TranCheckCount, ProcedureInfo.TranFixCount, ProcedureInfo.TranConvertCount), "Results of Refresh Transitions", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
private void btnRefObjRefresh_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
// This code is disabled - Button is not visible
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
ProcedureInfo.ResetROCounters();
|
||||
ProcedureInfo.RefreshReferenceObjects(MyItemInfo.MyProcedure as ProcedureInfo);
|
||||
this.Cursor = Cursors.Default;
|
||||
MessageBox.Show(this, string.Format("Checked {0} referenced objects, fixed {1} referenced objects", ProcedureInfo.ROCheckCount, ProcedureInfo.ROFixCount), "Results of Refresh Referenced Objects", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
|
||||
//private FindReplace dlgFindReplace = null;
|
||||
private void btnFindRplDlg_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user