private static void RunApp(string[] arguments) { bool createdNew = true; new Mutex(true, "UniqueApplicationName", out createdNew); if (createdNew) { Splasher.Splash = new DesktopClient.SplashScreen(); Splasher.ShowSplash(); new App(); } }
protected override void OnActivated(EventArgs e) { base.OnActivated(e); Splasher.CloseSplash(); }