Example #1
0
 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);
     }
 }
Example #2
0
 protected virtual void OnTinyRequest(TinyRequestEventArgs e) {
     EventHandler<TinyRequestEventArgs> temp = TinyRequest;
     if (temp != null) {
         temp(this, e);
     }
 }