Ejemplo n.º 1
0
 private void _configService_SettingsChanged(object sender, EventArgs e)
 {
     _config = _configService.LoadConfiguration();
     _hooks.HookHotkeys();
     // also updates the ShortcutKey text
     _appMenus.Localize();
     UpdateLoggingLevel();
 }
Ejemplo n.º 2
0
        public void Startup()
        {
            EnsureLogFolderPathExists();
            EnsureTempPathExists();
            ApplyCultureConfig();

            LogRubberduckStart();
            UpdateLoggingLevel();

            CheckForLegacyIndenterSettings();
            _appMenus.Initialize();
            _hooks.HookHotkeys(); // need to hook hotkeys before we localize menus, to correctly display ShortcutTexts
            _appMenus.Localize();

            if (_config.UserSettings.GeneralSettings.CanCheckVersion)
            {
                _checkVersionCommand.Execute(null);
            }
        }
Ejemplo n.º 3
0
 private void _configService_SettingsChanged(object sender, EventArgs e)
 {
     // also updates the ShortcutKey text
     _appMenus.Localize();
     _hooks.HookHotkeys();
 }