Splash Screen Coding and Design
Steps:
- Start your Visual Studio IDE.
- Click on File and Create a new Project
- Select Visual C# as Language.
- Select Windows Form Application
- Give project name
- Browse and Select project folder.
- Click on OK
- Add Label and change the Text Property to desired name
- Add a progress bar control
- Add a timer
- Add another label and change the Text property to "Loading ..."
Coding:
Public Class frmSplash
Private Sub frmSplash_Load(sender
As System.Object, e
As System.EventArgs)
Handles MyBase.Load
timerSplash.Enabled =
True
End Sub
Private Sub timerSplash_Tick(sender
As System.Object, e
As System.EventArgs)
Handles timerSplash.Tick
pBar.Increment(+1)
If pBar.Value =
100 Then
timerSplash.Stop()
frmLogin.Show()
Me.Hide()
End If
End Sub
End Class
Watch Video Tutorial here :
No comments:
Post a Comment