Пример #1
0
        private static void SetThemeToLastOrDefault()
        {
            string themeConfigFile = GetThemeConfigFile();

            if (File.Exists(themeConfigFile))
            {
                Selector.LoadSelectedTheme(themeConfigFile);
            }
            else
            {
                Selector.ApplyTheme(Selector.Themes[0]);
            }
        }