public void notify(string result) { if (NotifyInvoked != null) { var args = new NotifyInvokedEventArgs { Result = result }; NotifyInvoked(this, args); } }