Exemple #1
0
 void smsSender_GetSettingsCompleted(object sender, GetSettingsCompletedEventArgs e)
 {
     try
     {
         this.Invoke(new CrossThreadSetInfoDelegate(setInfo), e.Result);
     }
     catch
     {
     }
 }
Exemple #2
0
 static void smsSender1_GetSettingsCompleted(object sender, GetSettingsCompletedEventArgs e)
 {
     Console.WriteLine("YES!!!" + "  " + e.Result);
 }
Exemple #3
0
 private void OnGetSettingsComplete(System.Exception error, SmsSettings result)
 {
     _getSettingsCompeleted = true;
     if (GetSettingsCompleted != null)
     {
         GetSettingsCompletedEventArgs e = new GetSettingsCompletedEventArgs(error) { Result = result };
         GetSettingsCompleted(this, e);
     }
 }