private void OnRequestTinyMenuItemClick(object sender, TinyRequestEventArgs e) { try { client.Request(e.Tiny); } catch (Exception ex) { Dialog.ShowError( String.Format(StringResources.RequestFailedDialogTitle, e.Tiny), StringResources.RequestFailedDialogMessage, ex.Message); } }
protected virtual void OnTinyRequest(TinyRequestEventArgs e) { EventHandler<TinyRequestEventArgs> temp = TinyRequest; if (temp != null) { temp(this, e); } }