예제 #1
0
파일: MyIMClient.cs 프로젝트: TonyPod/MyIC
 protected static void OnContactsChanged(ContactsEventArgs e)
 {
     if (ContactsChanged != null)
     {
         ContactsChanged(e);
     }
 }
예제 #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);
         }
     }
 }