1
This article explains an extended progress
bar with support for shape based
progress bars
and 3D colors.
2
The first version only included a basic
rectangle progress bar with "3D" abilities and
percent display. I decided to add a dynamic
shape function so it could be used with any
shape (you can add more shapes in the
CreateRegion
function).
3
Just place it on the form and have a look at
the properties:
FillingMethod
- the
direction of the gradient (right to left,
left to right..).
GradientMethod
- the way
the gradient is drawn (Horizontal, Vertical,
3D).
Shape
- the shape of the
progress bar (rectangle, ellipse, rounded
rectangle, triangle, magen david, snake).
Other stuff you should have a look at are:
BorderSize
, BorderDisplay
,
and PercentDisplay
.
4
Good progress bars are easy to find today,
but I wrote this one because I didn't find one
that I liked that supported percents display,
and the rest is history.
5
The first version only included a simple
rectangle HMI and SCADA
progress bar and was written very
specifically for rectangle. Later, I wanted to
add one more style, and I decided to write it
dynamically for any shape. This is an updated
version fixed for .NET 2.0.