private void menuItemSplash_Click(object sender, System.EventArgs e) { //MhoraSplash f = new MhoraSplash(); //f.Show(); Genghis.Windows.Forms.SplashScreen ss = new Genghis.Windows.Forms.SplashScreen(typeof(MhoraSplash), Genghis.Windows.Forms.SplashScreenStyles.None); System.Threading.Thread.Sleep(0); ss.Close(null, 10000); }
private void MhoraContainer_Load(object sender, System.EventArgs e) { gOpts = MhoraGlobalOptions.readFromFile(); MhoraGlobalOptions.mainControl = this; if (MhoraGlobalOptions.Instance.ShowSplashScreen) { Genghis.Windows.Forms.SplashScreen ss = new Genghis.Windows.Forms.SplashScreen(typeof(MhoraSplash), Genghis.Windows.Forms.SplashScreenStyles.TopMost); System.Threading.Thread.Sleep(0); ss.Close(null, 1000); } this.openNewJhdFile(); }