Chapter 2
Measurement Studio .NET Class Libraries
©
National Instruments Corporation
2-31
Measurement Studio User Manual
You typically use an LED control, as shown in Figure 2-8, to indicate a
Boolean value on an application user interface.
Figure 2-8.
LED Windows Forms Control in Square 3D Style
With the switch and LED controls and the classes that interface with the
controls, you can perform the following operations:
•
Receive notification before or after the state of the control changes.
•
Configure how the control behaves when you click it with the mouse
or press the spacebar when the control has focus.
•
Configure the appearance of the control.
•
Make the control background transparent.
•
Configure the LED control to blink while it is on or off and configure
the rate at which the LED control blinks.
Tip
For more information about using the switch and LED controls, refer to the
Using the
Measurement Studio Windows Forms Switch and LED .NET Controls
section in the
NI Measurement Studio Help
.