C# Класс UIAControls.TriColorControl

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
InitializeComponent void
RectFFromRect RectangleF
RectForValue Rectangle

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

Метод Описание
RectFromValue ( TriColorValue value ) : Rectangle

Find the rectangle (in client coordinates) for a given value

TriColorControl ( ) : System
ValueFromPoint ( Point ptClient, TriColorValue &value ) : bool

Find the value for a given point on the control

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

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnGotFocus ( EventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void
WndProc ( Message &m ) : void

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

Метод Описание
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RectFFromRect ( Rectangle rect ) : RectangleF
RectForValue ( TriColorValue value ) : Rectangle

Find the rectangle corresponding to a given value

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

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

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Результат void

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

protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
Результат void

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

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Результат void

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

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

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

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

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

protected OnSizeChanged ( EventArgs e ) : void
e EventArgs
Результат void

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

Find the rectangle (in client coordinates) for a given value
public RectFromValue ( TriColorValue value ) : Rectangle
value TriColorValue
Результат Rectangle

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

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

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

Find the value for a given point on the control
public ValueFromPoint ( Point ptClient, TriColorValue &value ) : bool
ptClient Point Point in client coordinates
value TriColorValue Value for point
Результат bool

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

protected WndProc ( Message &m ) : void
m Message
Результат void