Modal Splash Screen


I've got a splahs screen and i'm calling it via frmSplash.ShowSplashScreen();

            public static void ShowSplashScreen()
                  if(null != _splash) return;
                  _thread = new Thread(new ThreadStart(frmSplash.ShowForm));
                  _thread.IsBackground = true;
                  _thread.ApartmentState = ApartmentState.STA;



static public void SetReferencePoint()
                  if( _splash == null ) return;


which does......

private void SetReferenceInternal()
                  if( _dTSet == false )
                        _dTSet = true;
                        _start = DateTime.Now;
                  double msecs = ElapsedMilliSeconds();

                  _lastCompletionFraction = _completionFraction;

                  if( null != _previousCompletionFraction && _index < _previousCompletionFraction.Count )
                        _completionFraction = (double)_previousCompletionFraction[_index++];
                        _completionFraction = ( _index > 0 )? 1: 0;

When I say:

                                 if (null != _auth)
                              MainForm frm = new MainForm(_auth);

The splash appears but it's modal ie it sits on my screen and I cannot place other apps over it taking up valuable screen real-estate

How would I change this?

Who is Participating?
ShazbotOKConnect With a Mentor Commented:
Sorry got my language wires crossed...

In WinForms use of ShowDialog is equiv to ShowModal
                     use of Show is equiv to ShowModless
Change it from ShowModal to ShowModless
bowemcAuthor Commented:
I presume you mean change the line:  frm.ShowDialog();

I'm using .net 1.1 not too sure it thats the issue but using the telesonic I do not have access to ShowModaless

I can't see where i have ShowModal ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.