/// <summary> /// startup the GUI layer, forcing a value for 'useWindowsXPThemes' environment variable. /// </summary> /// <param name = "useWindowsXPThemes"></param> internal void init(bool useWindowsXPThemes, String startupImageFileName) { if (useWindowsXPThemes && Utils.IsXPStylesActive()) { Application.EnableVisualStyles(); } filter = new Filter(); Console.ConsoleWindow.getInstance(); base.init(); if (!String.IsNullOrEmpty(startupImageFileName)) { Image startupImage = ImageLoader.GetImage(startupImageFileName); if (startupImage != null) { startupScreen = new SplashForm(startupImage); startupScreen.Show(); startupScreen.Activate(); } } }