예제 #1
0
        /// <summary>
        /// Change the language of MemPlus
        /// </summary>
        internal void LoadLanguage()
        {
            GuiManager.ChangeLanguage(_logController);

            try
            {
                _updateManager?.SetStringVariables(LoadUpdateManagerStrings());
                TbiIcon?.InvalidateVisual();
            }
            catch (Exception ex)
            {
                _logController.AddLog(new ErrorLog(ex.Message));
                MessageBox.Show(ex.Message, "MemPlus", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }