Example #1
0
        public override bool Init(string environmentCommandLine)
        {
            Instance = this;

            AppContext = new ApplicationContext();

            base.Init(environmentCommandLine);

            GuiUtils.Init();

            SplashWindow = new Forms.WindowSplash();
            SplashWindow.Show();

            if (Engine == null)
            {
                Engine = new Eddie.Forms.Engine(environmentCommandLine);
            }
            Engine.TerminateEvent += Engine_TerminateEvent;
            Engine.UiManager.Add(this);

            Engine.Start();

            return(true);
        }