DisplayMessageBox Event
Occurs when a call to display a message box is made from the XJEase code. This event is fired from an arbitrary thread.
Type: Runner
Namespace: XJTAG.Integration.XJRunner
Syntax
public event EventHandler<MessageBoxEventArgs> DisplayMessageBox
Remarks
You can call SetResult synchronously inside the event handler, or preserve the supplied MessageBoxEventArgs reference and call SetResult later. The message box will close when a user selects one of its buttons, or when SetResult is called, whichever happens first.
This event is fired from the thread on which the test code is running. You therefore need to be careful about synchronising access to your data structures and, if your code accesses any user interface controls, you will need to use BeginInvoke to ensure that you access methods and properties from the appropriate thread.
See Also
XJTAG v4.2.5
