Jump to content
bt.ionut

vbasic progress bar

Recommended Posts

Am urmatorul cod:

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
ProgressBar1.Value = ProgressBar1.Value + 1
If ProgressBar1.Value = 10 Then
Label1.Text = "Connecting to minecraft.net"
End If
If ProgressBar1.Value = 60 Then
Label1.Text = "Succefully connected!"
End If
If ProgressBar1.Value = 70 Then
Label1.Text = "Change username..."
End If
If ProgressBar1.Value = 100 Then
Label1.Text = "Done!"
ProgressBar1.Value = 100
Timer1.Stop()
End If
End Sub

Bara se incarca prea repede, cum o fac sa se incarce mai greu ?

Am cautat pe net, am incercat sa modific Value insa primesc nise erori, in alte cazuri doar se blocheaza.

Merci.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...