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