/// <summary>
        /// A static method to close the SplashScreen
        /// </summary>
        static public void Stop()
        {
            if (ms_frmSplash == null || ms_frmSplash.IsDisposed)
            {
                return;
            }

            if (ms_frmSplash.InvokeRequired)
            {
                ms_frmSplash.BeginInvoke(new CloseWaitingDialogDel(Stop), new object[] { });
                return;
            }

            ms_frmSplash.Close();
            ms_oThread = null;	// we don't need these any more.
            ms_frmSplash = null;
        }
 // A private entry point for the thread.
 static private void ShowForm()
 {
     ms_frmSplash = new WaitingDialog();
     Application.Run(ms_frmSplash);
 }