예제 #1
0
        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();
        }
예제 #2
0
 protected override async void OnClick()
 {
     //TODO: Create/reference Async Process for updating contacts
     var AsyncContacts = new AsyncContacts();
     await AsyncContacts.LoadContactsAsync(checksyncage : false);
 }