- TTF: 2014.3
- Visual Studio 2012
I am finding that I am not seeing the WindowClosed event handler getting called.
I even set things up so that I manually open and close the window; the event handler
does not seem to be fired.
I'm assuming that TTF does not require any special work to be done by the Wpf client
in order to see the event, right?
Hopefully, someone has some ideas and suggestions.
Thanks in advance,
Below is a sample code :
sender, EventArgs e)
var win = wpfClient.WaitForWindow(
"Header of Window"
win.WindowClosed += WindowClosedEventHandler;
// subscribe to event
// wait for event handler to set _winClosed to true
"Waiting for win to close"
win.WindowClosed -= WindowClosedEventHandler;
// unsubscribe to event