public static void ShowSplashScreen() { _splashScreen = new QTranslucentWindow { BackgroundImage = new Bitmap(Images.imgSplash), TopMost = true }; _splashScreen.ShowCenteredOnScreen(); Application.Idle += ApplicationIdle; }
/// <summary> /// Shows the Splash screen /// </summary> public static void ShowSplashScreen() { m_oSplash = new QTranslucentWindow(); m_oSplash.BackgroundImage = new System.Drawing.Bitmap(Application.StartupPath + @"\IMG\Splash.jpg"); m_oSplash.TopMost = true; m_oSplash.ShowCenteredOnScreen(); Application.Idle += new EventHandler(Application_Idle); }