Reader Level:
ARTICLE

Guage Custom Control in VB.NET

On November 10, 2012 Articles | Visual Basic .NET
This article describes about Guage custom control in VB.NET
  • 0
  • 0
  • 6735
Download Files:
 

The control is a round meter with the following parameters:

  • Range: The range represented (default: 100).
  • Red Zone: The area of the meter where the tick marks are drawn in the
  • Red Zone Color (default: 60).
  • Red Zone Color: color of the red zone (default: Red).
  • Text Color: Color for the rest of the tick marks and text (default: Lime).
  • Needle Color: color of the needle (default: orange).
  • Deflection: Deflection of the needle from zero (default: 0).

The one custom event the meter raises is called DeflectionChanged for obvious reasons.

The only shape available is round, and the size is determined by client rectangle height, or width (whichever is shorter).

The one custom event the meter raises is called DeflectionChanged for obvious reasons.

The only shape available is round, and the size is determined by client rectangle height, or width (whichever is shorter).

Screenshots

single-in-vb.net.gif


nested-in-vb.net.gif

Article Extensions
Contents added by benyamine Ali on Mar 28, 2013
ffgds16:49:55
  • 469rank
  • 118K readers
COMMENT USING

Trending up