Advertisement
Mnooper

Untitled

Apr 26th, 2017
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. X=MsgBox("Do you agree to free cake?",4+32+4096,"Cake")
  2. if X="6" then
  3. Y=MsgBox("There has been an error in baking your free cake. Try again tomorrow.",16+4096,"Windows Bakery")
  4. else
  5. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  6.  
  7.         ProgressBar1.Value += 1
  8.         If ProgressBar1.Value = 30 Then
  9.             Timer1.Enabled = False
  10.         End If
  11.  
  12.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement