Make a Progress Bar Demo in VB 2013


Make your own software with progress bar . here you can understand about how to add progress bar
in visual basic or visual studio project.

So you need - 
- 3 buttons
- 2 progress bar
- 2 timers
- 1 lable

how Make --- 

1. Create a blank project


2. Add buttons And Lable


3.Rename them as you want


4. Add more buttons and progress bar and 2 timers .




Adjust and rename as given above in image.Timer not show in image it"s show in visual basic.
See timer Below image - 



Copy Full Script From here

Public Class Form1

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Timer1.Start()
    End Sub

    Private Sub ProgressBar1_Click(sender As Object, e As EventArgs) Handles ProgressBar1.Click

    End Sub

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        ProgressBar1.Increment(50)
    End Sub

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        End
    End Sub

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
        Timer2.Start()
    End Sub

    Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick
        ProgressBar2.Increment(1)
    End Sub
End Class


Thanks

No comments:

Post a Comment