Advertisement
Guest User

BH-codes_v0.1

a guest
Apr 30th, 2010
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 2.47 KB | None | 0 0
  1. Public Class Form1
  2.  
  3.  
  4.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  5.         Timer1.Start()
  6.         Timer3.Start()
  7.         Timer4.Start()
  8.         TextBox1.Text = ""
  9.         ProgressBar1.Value = 0
  10.     End Sub
  11.  
  12.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  13.         ProgressBar1.Increment(40)
  14.  
  15.     End Sub
  16.  
  17.     Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
  18.         If ProgressBar1.Value = 10 And ComboBox1.Text = "1000 Valor Points" Then TextBox1.Text = "CGU2-FMAN-EFJ8-WCKD"
  19.         If ProgressBar1.Value = 10 And ComboBox1.Text = "Royal Hat" Then TextBox1.Text = "CJD9-PMP4-Y5NB-UVEQ"
  20.         If ProgressBar1.Value = 10 And ComboBox1.Text = "Royal Nose" Then TextBox1.Text = "ARR3-WYEJ-CG9P-PGVS"
  21.         If ProgressBar1.Value = 10 And ComboBox1.Text = "National Hat" Then TextBox1.Text = "C4YG-3A27-HDRL-D2LM"
  22.         If ProgressBar1.Value = 10 And ComboBox1.Text = "National Nose" Then TextBox1.Text = "8WMA-AKTR-NHMF-JC2R"
  23.         If ComboBox1.Text = "Choose item" Then TextBox1.Text = ""
  24.     End Sub
  25.  
  26.     Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
  27.         If TextBox1.Text = "CGU2-FMAN-EFJ8-WCKD" Then ProgressBar1.Value = 0
  28.         If TextBox1.Text = "CGU2-FMAN-EFJ8-WCKD" Then Timer1.Stop()
  29.         If TextBox1.Text = "CJD9-PMP4-Y5NB-UVEQ" Then ProgressBar1.Value = 0
  30.         If TextBox1.Text = "CJD9-PMP4-Y5NB-UVEQ" Then Timer1.Stop()
  31.         If TextBox1.Text = "ARR3-WYEJ-CG9P-PGVS" Then ProgressBar1.Value = 0
  32.         If TextBox1.Text = "ARR3-WYEJ-CG9P-PGVS" Then Timer1.Stop()
  33.         If TextBox1.Text = "C4YG-3A27-HDRL-D2LM" Then ProgressBar1.Value = 0
  34.         If TextBox1.Text = "C4YG-3A27-HDRL-D2LM" Then Timer1.Stop()
  35.         If TextBox1.Text = "8WMA-AKTR-NHMF-JC2R" Then ProgressBar1.Value = 0
  36.         If TextBox1.Text = "8WMA-AKTR-NHMF-JC2R" Then Timer1.Stop()
  37.     End Sub
  38.  
  39.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  40.         MsgBox("This is for educational purposes only. UC-forum or anyone related to UC-forum is not held responsible for any abuse by users.")
  41.     End Sub
  42.  
  43.     Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
  44.         Process.Start("http://www.UC-forum.com/")
  45.     End Sub
  46. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement