Progress Bar pada VB.NET

Public Class Form1

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Static i As Integer
i = i + 1
ProgressBar1.Maximum = 100
If i > 100 Then
Timer1.Stop()
End If
ProgressBar1.Value = i - 1
Label1.Text = i - 1
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Start()
End Sub

End Class




Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel