Ejemplo n.º 1
0
        private void SettingsChanged()
        {
            this.uiCultureChanger.ApplyCulture(new CultureInfo(Helper.Settings.ShortLanguage));
            this.uiCultureChanger.ApplyCultureToForm(this);

            foreach (IDockContent dockContent in this.dockPanel1.Contents)
            {
                FrmTableEditor tableEditor = dockContent as FrmTableEditor;
                if (tableEditor != null)
                {
                    this.uiCultureChanger.ApplyCultureToForm(tableEditor);

                    // refresh settings after language change
                    tableEditor.RefreshSettings();
                }
            }

            this.propertiesFormForm?.RefreshSettings();

            this.systemEditorForm?.RefreshSettings();

            // if (solutionExplorerForm != null)
            // solutionExplorerForm.RefreshSettings();
            this.SetDocumentMenus(this.GetDocument());
        }