I need to customize a PopUpWatcher.
I've alredy used it to close popups by pressing OK button.
Now I have to do a different thing.
I need to execute a customized method when a specified popup appares.
Is there a way to do it?
For example I need to convert this:
Code: Select all
myPopupWatcher.WatchAndClick(repo.UpdateCheckDialog, repo.UpdateCheckDialog.btCloseInfo);
Code: Select all
myPopupWatcher.Watch(repo.UpdateCheckDialog, myCustomizedMethod);
Max