示例#1
0
 static void smsSender1_SendCompleted(object sender, SendCompletedEventArgs e)
 {
     Console.WriteLine("YES!!!" + "  " + e.Result);
 }
示例#2
0
 void smsSender_SendCompleted(object sender, SendCompletedEventArgs e)
 {
     try
     {
         this.Invoke(new CrossThreadcallAfterSendedDelegate(callAfterSended), e.Result);
     }
     catch
     {
     }
 }
示例#3
0
 private void smsSender_SendCompleted(object sender, SendCompletedEventArgs e)
 {
     file.WriteLine("4");
     callAfterSended(e.Result);
     
 }
示例#4
0
 private void OnSendComplete(System.Exception error, SendResponse result)
 {
     _sendCompeleted = true;
     if (SendCompleted != null)
     {
         SendCompletedEventArgs e = new SendCompletedEventArgs(error) { Result = result };
         SendCompleted(this, e);
     }
 }