private void OnProjectOpened(ProjectEventArgs obj) //Project Opened event handler { //do on open... var EMEInstall = new EMEInstall(); EMEInstall.DirectionsDir(); EMEInstall.CheckUSEPADir(); // check last sync, sync with online if needed var AsyncContacts = new AsyncContacts(); AsyncContacts.LoadContactsAsync(checksyncage: true); EMEInstall.CopyEMEToolbox(); }
protected override async void OnClick() { //TODO: Create/reference Async Process for updating contacts var AsyncContacts = new AsyncContacts(); await AsyncContacts.LoadContactsAsync(checksyncage : false); }