Пример #1
0
 private void AnalysMsg(Phone.Message message)
 {
     if (!users.Contains(message.User))
     {
         users.Add(message.User);
         comboBox1.Items.Add(message.User);
     }
 }
Пример #2
0
 private void OnSMSReceived(Phone.Message message)
 {
     if (InvokeRequired)
     {
         Invoke(new Action <Phone.Message>(OnSMSReceived), message);
         return;
     }
     AnalysMsg(message);
 }