Click here to Skip to main content
15,895,011 members
Articles / Desktop Programming / Windows Forms

Custom ProgressBar Control

Rate me:
Please Sign up or sign in to vote.
4.76/5 (39 votes)
8 Jun 2011CPOL3 min read 228.6K   16.1K   122  
Easy to use ProgressBar Control with many properties
Public Class Form2


    Private Sub TrackBar1_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TrackBar1.Scroll
        ProgBarPlus1.Value = ProgBarPlus1.Max - TrackBar1.Value
        ProgBarPlus2.Value = TrackBar1.Value
        ProgBarPlus3.Value = ProgBarPlus1.Max - TrackBar1.Value
        ProgBarPlus4.Value = TrackBar1.Value
    End Sub

    Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
I first got hooked on programing with the TI994A. After it finally lost all support I reluctantly moved to the Apple IIe. Thank You BeagleBros for getting me through. I wrote programs for my Scuba buisness during this time. Currently I am a Database manager and software developer. I started with VBA and VB6 and now having fun with VB.NET/WPF/C#...

Comments and Discussions