mchiappinam

Para o Rick_3D

Oct 28th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Class Form1
  2.  
  3.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  4.         Timer2.Start()
  5.         timer3.start()
  6.     End Sub
  7.  
  8.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  9.         If ProgressBar1.Value = "100" Then 'o interval desse timer é 100
  10.            Me.Hide()
  11.             Form2.Show()
  12.         End If
  13.     End Sub
  14.  
  15.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  16.         Timer1.Start()
  17.     End Sub
  18.  
  19.     Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
  20.         ProgressBar1.Value = "99" 'o interval desse timer é 100
  21.    End Sub
  22.  
  23.     Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
  24.         ProgressBar1.Value = "100" 'o interval desse timer é 1000
  25.    End Sub
  26. End Class
Advertisement
Add Comment
Please, Sign In to add comment