How to use Circular Progress Bar Control
DotNetBar is a third party
application use to create nice looking application because of its capability to
change how it looks. There’s a lot of controls and component could be used to
make your application more professional looking than usual windows form application.
One control that I love to use is Circular
Progress Bar, circular bar simple yet impressive design and its thrilling
appearance, you can change the color how it looks like. Now, let’s give you a
simple code how to use circular progress
bar.
In your windows form, you need a
circular progress, timer for time interval, and one button to trigger when it
start.
In Timer1, this the code
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
If Timer1.Interval = 5000 Then
CircularProgress1.IsRunning = False
Timer1.Stop()
MessageBox.Show("done")
End If
End Sub
In Button1:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button2.Click
CircularProgress1.IsRunning = True
Timer1.Start()
End Sub
Once the button pressed, the
circular progress bar start running until 5 seconds interval completed and
shows a result “done”. That’s how very simple!