C# Класс Animatroller.Simulator.Control.Bulb.LedBulb

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.
Наследование: System.Windows.Forms.Control
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
drawControl void

Открытые методы

Метод Описание
LedBulb ( ) : System

Защищенные методы

Метод Описание
OnMove ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Handles the Paint event for this UserControl

OnPaintBackground ( PaintEventArgs e ) : void

Приватные методы

Метод Описание
drawControl ( Graphics g ) : void

Renders the control to an image

Описание методов

LedBulb() публичный Метод

public LedBulb ( ) : System
Результат System

OnMove() защищенный Метод

protected OnMove ( EventArgs e ) : void
e System.EventArgs
Результат void

OnPaint() защищенный Метод

Handles the Paint event for this UserControl
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

OnPaintBackground() защищенный Метод

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void