コード例 #1
0
ファイル: GUI.cs プロジェクト: michederoide/Battle.LAN
 /// <summary>
 /// Shows the splash screen for a specific time and closes it afterwards
 /// DON'T CALL THIS EXPLICITLY
 /// </summary>
 private void SplashThread()
 {
     // Create a new SplashScreen object and shows it up
     SplashScreen splashScreen = new SplashScreen();
     splashScreen.Show();
     // Waits for the specific time
     Thread.Sleep(c_showSplashTime); // Default: 5000
     // Closes the splash screen
     splashScreen.Close();
 }