(1) MessageBoxOp, AskYesNoOp and CoverTest do not use Bridge.OnCloseQandAForm, (2) ChangeOfFlowDirection --> ChangeFlowDirection, (3) code cleanup,
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user