Пример #1
0
        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();
            }
        }
Пример #2
0
        protected override void OnActivated(EventArgs e)
        {
            base.OnActivated(e);

            Splasher.CloseSplash();
        }