void client_SendOneFinish(MSNClient m, Contact c)
 {
     Console.WriteLine("{0} Online Success", testNum);
     if (testNum == 0)
     {
         finish(m);
     }
     else
     {
         //Thread.Sleep(2000);
         m.TestSend();
         testNum--;
     }
 }
 void client_SendOneFinish(MSNClient m, OIMSendCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         Console.WriteLine("{0} Error", testNum);
     }
     else
     {
         Console.WriteLine("{0} Offline Success", testNum);
     }
     if (testNum == 0)
     {
         finish(m);
     }
     else
     {
         //Thread.Sleep(2000);
         m.TestSend();
         testNum--;
     }
 }
 void client_SynchronizationCompleted(MSNClient m)
 {
     //Thread.Sleep(3000);
     m.TestSend();
     testNum--;
 }
 void client_SendOneFinish(MSNClient m, OIMSendCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         Console.WriteLine("{0} Error", testNum);
     }
     else
     {
         Console.WriteLine("{0} Offline Success", testNum);
     }
     if (testNum == 0)
     {
         finish(m);
     }
     else
     {
         //Thread.Sleep(2000);
         m.TestSend();
         testNum--;
     }
 }
 void client_SynchronizationCompleted(MSNClient m)
 {
     //Thread.Sleep(3000);
     m.TestSend();
     testNum--;
 }
 void client_SendOneFinish(MSNClient m, Contact c)
 {
     Console.WriteLine("{0} Online Success", testNum);
     if (testNum == 0)
     {
         finish(m);
     }
     else
     {
         //Thread.Sleep(2000);
         m.TestSend();
         testNum--;
     }
 }