Advertisement
dassoubarna

Pass

Apr 3rd, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.60 KB | None | 0 0
  1. Imports System.IO
  2. Public Class Form1
  3.     Dim appPath As String = Application.StartupPath()
  4.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  5.         SplashScreen.BarLong(100)
  6.         Dim i As Integer = 0
  7.         While i <= 100
  8.             SplashScreen.ShowBar(i)
  9.             i += 1
  10.             Threading.Thread.Sleep(15)
  11.         End While
  12.        
  13.     End Sub
  14.  
  15.  
  16.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  17.  
  18.         Main.Show()
  19.         Me.Hide()
  20.     End Sub
  21.  
  22. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement