コード例 #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);
        }
コード例 #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();
        }