Ejemplo n.º 1
0
        private void ChangeThemeButton_Click(object sender, RoutedEventArgs e)
        {
            _currentTheme = (_currentTheme + 1) % Enum.GetNames(typeof(ThemeName)).Length;

            _textMateInstallation.SetTheme(_registryOptions.LoadTheme(
                                               (ThemeName)_currentTheme));
        }
Ejemplo n.º 2
0
        void _changeThemeBtn_Click(object sender, RoutedEventArgs e)
        {
            _currentTheme = (_currentTheme + 1) % Enum.GetNames(typeof(ThemeName)).Length;

            _textMateInstallation.SetTheme((ThemeName)_currentTheme);
        }