Exemple #1
0
 public void OnDownloadCancelled(SimpleEventArgs args)
 {
     if (DownloadCancelled != null)
     {
         DownloadCancelled(this, args);
     }
 }
Exemple #2
0
 public void OnLoginFailed(SimpleEventArgs e)
 {
     if (LoginFailed != null)
     {
         LoginFailed(this, e);
     }
 }
Exemple #3
0
 public void OnErrorEvent(SimpleEventArgs eventArgs)
 {
     if (ErrorEvent != null)
     {
         ErrorEvent(this, eventArgs);
     }
 }
 public void OnUploadCancelled(SimpleEventArgs args)
 {
     if (UploadCancelled != null)
     {
         UploadCancelled(this, args);
     }
 }
Exemple #5
0
        public void OnAddContactResponse(SimpleEventArgs simpleEventArgs)
        {
            //el message de simpleEventArgs viene en el formato n|m|loginDestino|contactoAgregado@estado|mensaje
            string contactAddedStatus = simpleEventArgs.Message.Split('|')[3];

            if (AddContactResponse != null)
            {
                AddContactResponse(this, simpleEventArgs);
            }

            if (UpdateContactStatusResponse != null)
            {
                UpdateContactStatusResponse(this, new SimpleEventArgs()
                {
                    Message = contactAddedStatus
                });
            }
        }