unexpected window handler via c# project
Hi ,
I am trying to use the event handler for Unexpected window but having trouble making it work.
I have a project written in c# which uses the TestComplete dll's, I want now to be able to handle the unexpected window using the listener .
so after a small searching I found that I need to create a winform (and make it invisible since I dont want it to be shown)
,create the test complete event and implementing the "OnUnexpectedWindow" which has been created.
But I cant figure out how it is suppose to work in order to do the implementation I have written in the handler every time a unexpected window shows up ? do I need to connect some how the winform?
please I need more clarification on the process of connecting this handler to my project
Thank you!