how to find out if a form is invoked by splash

  • Thread starter Thread starter gs
  • Start date Start date
G

gs

I have an about form I want to use also as splash form. however when
invoked from the above I want to provide additional info that is not
accessible when being used as splash

is this possible?
 
Try this method. Don't forget the enum!

Enum SorA
Splash
About
End Enum

Public Overloads Function ShowDialog(ByVal owner As
Windows.Forms.IWin32Window, ByVal SplashOrAbout As SorA) As DialogResult

Me.Owner = owner

Select Case SplashOrAbout
Case SorA.Splash
'Splash Form
Case SorA.About
'About Form
End Select
End Function
 
Back
Top