static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var lang = FormSelectLang.Show(); Application.Run(new FormMain()); }
public static CultureInfo Show() { FormSelectLang form = new FormSelectLang(); return(form.ShowDialog() == DialogResult.OK ? form._selectedLanguage : null); }