Ejemplo n.º 1
0
        private void CheckSettings()
        {
            if (Framework.Settings.Instance.RunAtStartup && !Utilities.Startup.StartupTaskExists())
            {
                Utilities.Startup.EnableStartupTask();
            }

            Framework.Settings.Instance.MonitorConfig = MonitorConfig.CheckConfig(Framework.Settings.Instance.MonitorConfig);
        }
Ejemplo n.º 2
0
        private void CheckSettings()
        {
            if (SidebarDiagnostics.Properties.Settings.Default.UpgradeRequired)
            {
                SidebarDiagnostics.Properties.Settings.Default.Upgrade();
                SidebarDiagnostics.Properties.Settings.Default.UpgradeRequired = false;
            }

            SidebarDiagnostics.Properties.Settings.Default.MonitorConfig = MonitorConfig.CheckConfig(SidebarDiagnostics.Properties.Settings.Default.MonitorConfig);

            SidebarDiagnostics.Properties.Settings.Default.Save();
        }