ARTICLE

Guage Custom Control in VB.NET

Posted by Lance Drolet Articles | Visual Basic .NET November 10, 2012
This article describes about Guage custom control in VB.NET
Reader Level:
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

Login to add your contents and source code to this article
Article Extensions
Contents added by benyamine Ali on Mar 28, 2013
ffgds16:49:55
post comment
     
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter