ARCed.Editor.StartSplash C# (CSharp) Method

StartSplash() private method

private StartSplash ( string filename ) : void
filename string
return void
        private void StartSplash(string filename)
        {
            Project.NeedSaved = false;
            if (Settings.ShowSplash)
            {
                SplashScreen.UdpateStatusText("Initializing Ruby engine...");
                Thread.Sleep(500);
                this.RestoreWindowLocation();
                if (File.Exists(filename) && Path.GetExtension(filename) == ".arcproj")
                {
                    this.LoadProject(filename);
                    SplashScreen.UdpateStatusText("Opening project...");
                    Thread.Sleep(500);
                }
                SplashScreen.UdpateStatusText("Restoring layout...");
                Thread.Sleep(500);
                Show();
                SplashScreen.CloseSplashScreen();
                Activate();
            }
        }