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;
        }
示例#2
0
        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;
        }
        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;
        }
示例#4
0
        private void setDefaults()
        {
            //Default values
            assignedClientIdentifier = "";
            assignedClientSecret     = "";
            PersonalClientIdentifier = "";
            PersonalClientSecret     = "";
            OutlookService           = OutlookOgcs.Calendar.Service.DefaultMailbox;
            MailboxName          = "";
            SharedCalendar       = "";
            UseOutlookCalendar   = new OutlookCalendarListEntry();
            CategoriesRestrictBy = RestrictBy.Exclude;
            Categories           = new System.Collections.Generic.List <String>();
            OnlyRespondedInvites = false;
            OutlookDateFormat    = "g";
            outlookGalBlocked    = false;

            UseGoogleCalendar = new GoogleCalendarListEntry();
            apiLimit_inEffect = false;
            apiLimit_lastHit  = DateTime.Parse("01-Jan-2000");
            GaccountEmail     = "";
            CloakEmail        = true;

            SyncDirection               = Sync.Direction.OutlookToGoogle;
            DaysInThePast               = 1;
            DaysInTheFuture             = 60;
            SyncInterval                = 0;
            SyncIntervalUnit            = "Hours";
            OutlookPush                 = false;
            AddLocation                 = true;
            AddDescription              = true;
            AddDescription_OnlyToGoogle = true;
            AddReminders                = false;
            UseGoogleDefaultReminder    = false;
            UseOutlookDefaultReminder   = false;
            ReminderDND                 = false;
            ReminderDNDstart            = DateTime.Now.Date.AddHours(22);
            ReminderDNDend              = DateTime.Now.Date.AddDays(1).AddHours(6);
            AddAttendees                = false;
            AddColours            = false;
            MergeItems            = true;
            DisableDelete         = true;
            ConfirmOnDelete       = true;
            TargetCalendar        = Sync.Direction.OutlookToGoogle;
            CreatedItemsOnly      = true;
            SetEntriesPrivate     = false;
            SetEntriesAvailable   = false;
            SetEntriesColour      = false;
            SetEntriesColourValue = Microsoft.Office.Interop.Outlook.OlCategoryColor.olCategoryColorNone.ToString();
            SetEntriesColourName  = "None";
            Obfuscation           = new Obfuscate();

            MuteClickSounds = false;
            ShowBubbleTooltipWhenSyncing = true;
            StartOnStartup           = false;
            StartupDelay             = 0;
            StartInTray              = false;
            MinimiseToTray           = false;
            MinimiseNotClose         = false;
            ShowBubbleWhenMinimising = true;

            CreateCSVFiles = false;
            LoggingLevel   = "DEBUG";
            cloudLogging   = null;
            portable       = false;
            Proxy          = new SettingsProxy();

            alphaReleases       = !System.Windows.Forms.Application.ProductVersion.EndsWith("0.0");
            SkipVersion         = null;
            subscribed          = DateTime.Parse("01-Jan-2000");
            donor               = false;
            hideSplashScreen    = false;
            suppressSocialPopup = false;

            ExtirpateOgcsMetadata = false;

            lastSyncDate   = new DateTime(0);
            completedSyncs = 0;
            VerboseOutput  = true;
        }