public ContactsSelector() { InitializeComponent(); this._initialContacts = ContactStore.GetAllContacts(); foreach (Contact c in this._initialContacts) { this._matchingContacts.Add(c); } this.redraw(); }
private List <string> refreshContactPictures() { Contact[] contacts = ContactStore.GetAllContacts(); List <string> toSync = new List <string>(); foreach (Contact c in contacts) { string path = ChatWindow.getCacheImagePath(c.jid); if (!File.Exists(path)) { toSync.Add(c.jid); } } return(toSync); }