Exemple #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var lang = FormSelectLang.Show();

            Application.Run(new FormMain());
        }
Exemple #2
0
        public static CultureInfo Show()
        {
            FormSelectLang form = new FormSelectLang();

            return(form.ShowDialog() == DialogResult.OK ? form._selectedLanguage : null);
        }