Beispiel #1
0
        public static void UpdateAnalyticsSharing(bool theBool)
        {
            //Purpose of this function is to only define "HasAnalyticsClass" one place
#if (HasAnalyticsClass)
            AnalyticsSettings.UpdateSharing(theBool);
#endif
        }
Beispiel #2
0
        private void anonymousAnalyticsCheckbox_CheckedChanged(object sender, EventArgs e)
        {
            bool theStatus = anonymousAnalyticsCheckbox.Checked;

            MainProgram.DoDebug("Send annonymous analytics; " + theStatus);

            AnalyticsSettings.UpdateSharing(theStatus);
        }
Beispiel #3
0
        private void SetupDone()
        {
            //Start with Windows if user said so
            if (Properties.Settings.Default.StartWithWindows != startWithWindowsCheckbox.Checked)
            {
                Properties.Settings.Default.StartWithWindows = startWithWindowsCheckbox.Checked;
                MainProgram.SetStartup(startWithWindowsCheckbox.Checked);

                Properties.Settings.Default.Save();

                MainProgram.DoDebug("Starting with Windows now");
            }
            Properties.Settings.Default.AnalyticsInformed = true;
            AnalyticsSettings.UpdateSharing(analyticsEnabledBox.Checked);

            MainProgram.DoDebug("Anonymous analyitcs " + (analyticsEnabledBox.Checked ? "IS" : "is NOT") + " enabled");

            MainProgram.DoDebug("Completed setup guide");
            Properties.Settings.Default.HasCompletedTutorial = true;
            Properties.Settings.Default.Save();
        }
Beispiel #4
0
 private void analyticsEnabledBox_CheckedChanged(object sender, EventArgs e)
 {
     Properties.Settings.Default.AnalyticsInformed = true;
     Properties.Settings.Default.Save();
     AnalyticsSettings.UpdateSharing(analyticsEnabledBox.Checked);
 }