public ContactPhoneLocal(long id, IContactPhone contactPhone, IAddressBookLocal addressBook) : this(id, addressBook) { Key = contactPhone.Key; UpdateFrom(contactPhone); }
public ContactEmailLocal(long id, IContactEmail email, IAddressBookLocal addressBook) : this(id, addressBook) { Key = email.Key; UpdateFrom(email); }
public AddContactInfoCommand(ContactViewModel contactViewModel, IContactsManager contactsManager, IAddressBookLocal addressBook) { _contactViewModel = contactViewModel; _contactsManager = contactsManager; _addressBook = addressBook; Text = addressBook.Name; }
internal void AddNewTag(IAddressBookLocal addressBook) { var tagWindow = new TagForm(new ContactTagViewModel(addressBook.CreateTag())); if (tagWindow.ShowDialog() == DialogResult.OK) { NotifyPropertyChanged("Tags"); } }
private void ContactsManagerOnAddressBookReloaded(IAddressBookLocal addressBookLocal) { if (InvokeRequired) { Invoke(new Action(ReloadContacts)); } else { ReloadContacts(); } }
public ContactPhoneLocal(IContactPhone contactPhone, IAddressBookLocal addressBook) : this(-1, contactPhone, addressBook) { }
public ContactPhoneLocal(long id, IAddressBookLocal addressBook) : base(addressBook) { Id = id; Key = String.Empty; }
public ContactPhoneLocal(IAddressBookLocal addressBook) : this(-1, addressBook) { }
public VersionableLocal(IAddressBookLocal addressBookLocal) { _addressBookLocal = addressBookLocal; }
public ContactEmailLocal(IContactEmail email, IAddressBookLocal addressBook) : this(-1, email, addressBook) { }
public ContactEmailLocal(long id, IAddressBookLocal addressBook) : this(addressBook) { Id = id; }
public ContactEmailLocal(IAddressBookLocal addressBook) : base(addressBook) { Id = -1; Key = String.Empty; }