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

            LoadingHandler.ShowLoadingForm();

            var mainForm = new StroopMainForm();

            mainForm.LoadConfig(LoadingHandler.LoadingForm);

            LoadingHandler.CloseForm();
            Application.Run(mainForm);
        }
Example #2
0
        static void Main()
        {
            typeof(System.Globalization.CultureInfo).GetField("s_userDefaultCulture", BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, System.Globalization.CultureInfo.InvariantCulture);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            LoadingHandler.ShowLoadingForm();


            StroopMainForm mainForm;

            InitializeShit(out mainForm);

            LoadingHandler.CloseForm();
            Application.Run(mainForm);
        }