DisplaySaveFileDialog Event

Occurs when a call to display a save file dialog is made from the XJEase code. This event is fired from an arbitrary thread.

Type: Runner

Namespace: XJTAG.Integration.XJRunner

Syntax

public event EventHandler<SaveFileDialogEventArgs> DisplaySaveFileDialog

Remarks

You can call SetResult synchronously inside the event handler, or preserve the supplied SaveFileDialogEventArgs reference and call SetResult later. The save file dialog 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.