Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Timer1.Start()
- Button1.Enabled = False
- TextBox1.Enabled = False
- ProgressBar1.Value = ProgressBar1.Minimum
- End Sub
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- ProgressBar1.Increment(1)
- If ProgressBar1.Value = ProgressBar1.Maximum Then
- Timer1.Stop()
- MsgBox("Succesfully Connected")
- End If
- End Sub
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- Timer2.Start()
- Button2.Enabled = False
- End Sub
- Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
- ProgressBar2.Increment(1)
- If ProgressBar2.Value = 100 Then
- End If
- Label6.Text = ProgressBar2.Value & (" %")
- Label5.Text = "Connecting to Game Server..."
- If ProgressBar2.Value = 90% Then
- Timer2.Stop()
- MsgBox("Updates AVAILABLE Please Press Ok for Download Updates", MsgBoxStyle.Critical, "Update Available")
- System.Diagnostics.Process.Start("Here put your code with UPDATE")
- End If
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment