C# Class Animatroller.Simulator.Control.Bulb.SimpleBulb

The LEDBulb is a .Net control for Windows Forms that emulates an LED light with two states On and Off. The purpose of the control is to provide a sleek looking representation of an LED light that is sizable, has a transparent background and can be set to different colors.
Inheritance: System.Windows.Forms.Control
Afficher le fichier Open project: HakanL/animatroller

Private Properties

Свойство Type Description
drawControl void

Méthodes publiques

Méthode Description
SimpleBulb ( ) : System

Méthodes protégées

Méthode Description
OnMove ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Handles the Paint event for this UserControl

OnPaintBackground ( PaintEventArgs e ) : void

Private Methods

Méthode Description
drawControl ( Graphics g ) : void

Renders the control to an image

Method Details

OnMove() protected méthode

protected OnMove ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnPaint() protected méthode

Handles the Paint event for this UserControl
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnPaintBackground() protected méthode

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

SimpleBulb() public méthode

public SimpleBulb ( ) : System
Résultat System