Search This Blog

Saturday, November 20, 2010

Tutorial 7

7. Progress Bar



This tutorial will teach you the easiest method of using a Progress Bar in your Visual Basic .NET application. In this example, the Progress Bar will only increase with the click of a button and so it is not showing the progress of anything but this should help you understand how a progress bar works.

Code

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
ProgressBar1.Value = ProgressBar1.Value + 20
End Sub

End Class

No comments:

Post a Comment