//-------------------------------------------------------------------------
 // A static entry point to close the startup screen.
 //
 //-------------------------------------------------------------------------
 public static void CloseForm()
 {
     if (sSForm != null)
     {
         // Start to close.
         sSForm.opacityIncrease = -sSForm.opacityDecrease;
     }
     sSForm = null;
     startupScreenThread = null;  // Not necessary at this point.
 }
 //-------------------------------------------------------------------------
 // A static entry point to launch the startup screen.
 //
 //-------------------------------------------------------------------------
 private static void ShowForm()
 {
     sSForm = new StartupScreenForm();
     Application.Run(sSForm);
 }