/// <summary> /// Loads contacts from the contact list of the customer /// </summary> private void Code_LoadContacts(object sender, EventArgs e) { CustomerContactManager contactManager = this.CustomerSession.ContactManager; if (contactManager != null) { contacts = contactManager.GetContacts(); } else { contacts = new Dictionary <string, ContactInformation>(); } }