Total Pageviews

Thursday, September 15, 2016

ProgressBar control in Visual Basic 2015

ProgressBar
ProgressBar

Simple test of ProgressBar in Visual Basic 2015.

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        Dim x As Integer = 0
        ProgressBar1.Minimum = 0
        ProgressBar1.Maximum = 100

        For x = 0 To 100
            ProgressBar1.Value = x
        Next
    End Sub

No comments:

Post a Comment