Ejemplo n.º 1
0
 private void AddContact_Click(object sender, RoutedEventArgs e)
 {
     if (!messengerClient.IsContactAlreadyExist(MainAccount, Contact))
     {
         messengerClient.AddContact(MainAccount, Contact);
         WindowOwner.FillContacts(MainAccount);
         btnDelete.IsEnabled = true;
         btnAdd.IsEnabled    = false;
     }
 }