Ejemplo n.º 1
0
 protected static void OnContactsChanged(ContactsEventArgs e)
 {
     if (ContactsChanged != null)
     {
         ContactsChanged(e);
     }
 }
Ejemplo n.º 2
0
 private void openEditOrAddForm(object sender, ContactsEventArgs args)
 {
     if (args != null)
     {
         var contact    = args.Contact;
         var cities     = args.Cities;
         var phoneTypes = args.PhoneTypes;
         if (contact != null && cities != null && phoneTypes != null)
         {
             ForumView forumView = new ForumView(contact, cities, phoneTypes);
             forumView.ShowDialog();
             _viewModel.SearchCommand.Execute(null);
         }
     }
 }