(1) MessageBoxOp, AskYesNoOp and CoverTest do not use Bridge.OnCloseQandAForm, (2) ChangeOfFlowDirection --> ChangeFlowDirection, (3) code cleanup,

This commit is contained in:
Milan Hanajik
2018-09-18 16:44:32 +02:00
parent 49cc584914
commit 16c59b5c47
15 changed files with 136 additions and 725 deletions
-13
View File
@@ -221,19 +221,6 @@ namespace TBF.UiBridge
public static event EventHandler<EventArgs> CloseModelessFormHandler;
/// <summary>
/// Used by CoverTest, AskYesNoOp and MessageBoxOp.
/// </summary>
public static void OnCloseQandAForm(object sender, EventArgs args)
{
if (CloseQandAFormHandler == null) return;
try { CloseQandAFormHandler(sender, null); }
catch (Exception e) { log.Error("CloseQandAFormHandler(...) failed", e); }
}
public static event EventHandler<EventArgs> CloseQandAFormHandler;
/// <summary>
/// Called from the state machine when a procedure is selected and UI needs to be updated.
/// </summary>