ARTICLE

Guage Custom Control in VB.NET

Posted by Lance Drolet Articles | Visual Basic 2010 March 16, 2005
This article describes about Guage custom control in VB.NET
Download Files:
 
Reader Level:

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



share this article :
post comment
 

Very good and simple control.
Also very easy to extend further.

Posted by Tim Aug 16, 2010

Thanks alot

Posted by Ayman Jul 03, 2009

How could I use this control in a .NET C++ MFC Application?

Posted by Jeffrey Green Apr 18, 2007
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
Nevron Diagram
Become a Sponsor