private void setDefaults() { //Default values assignedClientIdentifier = ""; PersonalClientIdentifier = ""; PersonalClientSecret = ""; OutlookService = OutlookCalendar.Service.DefaultMailbox; MailboxName = ""; SharedCalendar = ""; UseOutlookCalendar = new MyOutlookCalendarListEntry(); CategoriesRestrictBy = RestrictBy.Exclude; Categories = new System.Collections.Generic.List <String>(); OutlookDateFormat = "g"; UseGoogleCalendar = new MyGoogleCalendarListEntry(); RefreshToken = ""; apiLimit_inEffect = false; apiLimit_lastHit = DateTime.Parse("01-Jan-2000"); GaccountEmail = ""; SyncDirection = new SyncDirection(); DaysInThePast = 1; DaysInTheFuture = 60; SyncInterval = 0; SyncIntervalUnit = "Hours"; OutlookPush = false; AddDescription = true; AddDescription_OnlyToGoogle = true; AddReminders = false; UseGoogleDefaultReminder = false; ReminderDND = false; ReminderDNDstart = DateTime.Now.Date.AddHours(22); ReminderDNDend = DateTime.Now.Date.AddDays(1).AddHours(6); AddAttendees = false; MergeItems = true; DisableDelete = true; ConfirmOnDelete = true; Obfuscation = new Obfuscate(); ShowBubbleTooltipWhenSyncing = true; StartOnStartup = false; StartInTray = false; MinimiseToTray = false; MinimiseNotClose = false; ShowBubbleWhenMinimising = true; CreateCSVFiles = false; LoggingLevel = "DEBUG"; portable = false; Proxy = new SettingsProxy(); alphaReleases = false; Subscribed = DateTime.Parse("01-Jan-2000"); donor = false; hideSplashScreen = false; lastSyncDate = new DateTime(0); completedSyncs = 0; VerboseOutput = false; }
private void setDefaults() { //Default values OutlookService = OutlookCalendar.Service.DefaultMailbox; MailboxName = ""; EWSuser = ""; EWSpassword = ""; EWSserver = ""; UseOutlookCalendar = new MyOutlookCalendarListEntry(); OutlookDateFormat = "g"; UseGoogleCalendar = new MyGoogleCalendarListEntry(); RefreshToken = ""; apiLimit_inEffect = false; apiLimit_lastHit = DateTime.Parse("01-Jan-2000"); SyncDirection = new SyncDirection(); DaysInThePast = 1; DaysInTheFuture = 60; SyncInterval = 0; SyncIntervalUnit = "Hours"; OutlookPush = false; AddDescription = true; AddDescription_OnlyToGoogle = true; AddReminders = false; AddAttendees = true; MergeItems = true; DisableDelete = true; ConfirmOnDelete = true; Obfuscation = new Obfuscate(); ShowBubbleTooltipWhenSyncing = true; StartOnStartup = false; StartInTray = false; MinimiseToTray = false; MinimiseNotClose = false; ShowBubbleWhenMinimising = true; CreateCSVFiles = false; LoggingLevel = "DEBUG"; portable = false; Proxy = new SettingsProxy(); alphaReleases = false; lastSyncDate = new DateTime(0); completedSyncs = 0; VerboseOutput = false; }