Inheritance: System.Windows.Forms.Form
Beispiel #1
0
        private void menuItemSelectLanguage_Click(object sender, EventArgs e)
        {
            formSelectLanguage languageDlg = new formSelectLanguage(_language);

            languageDlg.ShowDialog();

            string oldLanguage = _language;

            _language = languageDlg.Language;

            if (oldLanguage != _language)
            {
                // Restart hMailServer Administrator to use the new language.

                string currentExecutable = Assembly.GetExecutingAssembly().Location;

                System.Diagnostics.Process.Start(currentExecutable);

                this.Close();
            }
        }
Beispiel #2
0
        private void menuItemSelectLanguage_Click(object sender, EventArgs e)
        {
            formSelectLanguage languageDlg = new formSelectLanguage(_language);
            languageDlg.ShowDialog();

            string oldLanguage = _language;
            _language = languageDlg.Language;

            if (oldLanguage != _language)
            {
                // Restart hMailServer Administrator to use the new language.

                string currentExecutable = Assembly.GetExecutingAssembly().Location;

                System.Diagnostics.Process.Start(currentExecutable);

                this.Close();
            }
        }