Exemplo n.º 1
0
        static void FactoryResetGlobalSettings()
        {
            // Last active project
            GlobalSettings.AddSetting(new StringSetting()
            {
                IdentificationName = SettingsIdentificationNames.SetLastUsedProject,
                Category           = SettingsCategoryNames.GlobalSettingsCategoryProjects,
                Description        = Properties.SettingsDesc.DescLastUsedProject,
                HumanReadableName  = Properties.SettingsDesc.HumLastUsedProject,
                Value = ConstantDefinitions.CommonValueNone
            });

            // Show welcome window
            GlobalSettings.AddSetting(new BoolSetting()
            {
                IdentificationName = SettingsIdentificationNames.SetShowWelcomeWindow,
                Category           = SettingsCategoryNames.GlobalSettingsCategoryStartup,
                Description        = Properties.SettingsDesc.DescShowWelcomeWindow,
                HumanReadableName  = Properties.SettingsDesc.HumShowWelcomeWindow,
                Value = true
            });
        }