WPF interface and EventHandler

@eirannejad I found a little issue. When I run the WPF form with a smartbutton eventhandler(revit document opened) the @revit.events.handle() decorator is not working. Need to re-open my script manually
Here is a link:


and code: