示例#1
0
 // A static method to close the SplashScreen
 static public void CloseForm()
 {
     if (ms_frmTriviaBar != null && ms_frmTriviaBar.IsDisposed == false)
     {
         // Make it start going away.
         ms_frmTriviaBar.m_dblOpacityIncrement = -ms_frmTriviaBar.m_dblOpacityDecrement;
     }
     ms_oThread      = null; // we don't need these any more.
     ms_frmTriviaBar = null;
 }
示例#2
0
 // A private entry point for the thread.
 static private void ShowForm()
 {
     ms_frmTriviaBar = new TriviaBar();
     Application.Run(ms_frmTriviaBar);
 }