private void ReloadAppointments() { LockPage(); SetLoading(); var sync = new CalendarSync(); sync.SyncComplete += sync_SyncComplete; sync.Sync(Account.GetUri().AbsoluteUri, new Net.OwncloudCredentials { Username = Account.Username, Password = Account.Password }, Account.CalDAVPath); }
public void AddSyncAccount(string email) { CalendarSync calendarsync = new CalendarSync(); calendarsync.AddSyncAccount(email); }