Inheritance: System.Windows.Forms.Form
Ejemplo n.º 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();
            }
        }
Ejemplo n.º 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();
            }
        }