public SplashScreen()
        {
            //DEBUG - einstellung löschen
            //Properties.Settings.Default.Reset();
            //Properties.Settings.Default.Save();

            if (Properties.Settings.Default.language == "")
            {
                SplashScreenSelectLanguage form = new SplashScreenSelectLanguage();
                DialogResult dialog = form.ShowDialog();
            }
            if (Properties.Settings.Default.language == "")
            {
                Properties.Settings.Default.language = "en";
                Properties.Settings.Default.Save();
            }

            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(Properties.Settings.Default.language);
            InitializeComponent();

            statusText.Visible = true;
        }
Example #2
0
        public SplashScreen()
        {
            //DEBUG - einstellung löschen
            //Properties.Settings.Default.Reset();
            //Properties.Settings.Default.Save();

            if (Properties.Settings.Default.language == "")
            {
                SplashScreenSelectLanguage form = new SplashScreenSelectLanguage();
                DialogResult dialog             = form.ShowDialog();
            }
            if (Properties.Settings.Default.language == "")
            {
                Properties.Settings.Default.language = "en";
                Properties.Settings.Default.Save();
            }

            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(Properties.Settings.Default.language);
            InitializeComponent();

            statusText.Visible = true;
        }