private void OnFirstRun() { Properties.Settings.Default.MinecraftPath = Environment.CurrentDirectory + "/Minecraft"; while (SplashScreen.GetScreen() == null) { ; } while (SplashScreen.GetScreen().Opacity != 1.0) { ; } SplashScreen.UpdateStatusText("Welcome to " + MinecraftModUpdater.ShortAppName + " Version " + MinecraftModUpdater.Version + "."); OptionsForm of = new OptionsForm(); Thread.Sleep(2000); of.ShowDialog(); SplashScreen.CloseSplashScreen(); }
private void OnFirstRun() { Properties.Settings.Default.MinecraftPath = Environment.CurrentDirectory + "/Minecraft"; while (SplashScreen.GetScreen() == null) ; while (SplashScreen.GetScreen().Opacity != 1.0) ; SplashScreen.UpdateStatusText("Welcome to " + MinecraftModUpdater.ShortAppName + " Version " + MinecraftModUpdater.Version + "."); OptionsForm of = new OptionsForm(); Thread.Sleep(2000); of.ShowDialog(); SplashScreen.CloseSplashScreen(); }