C# Class UIAControls.TriColorControl

Afficher le fichier Open project: TestStack/uia-custom-pattern-managed Class Usage Examples

Private Properties

Свойство Type Description
InitializeComponent void
RectFFromRect RectangleF
RectForValue Rectangle

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

OnGotFocus() protected méthode

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Résultat void

OnKeyUp() protected méthode

protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

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

OnSizeChanged() protected méthode

protected OnSizeChanged ( EventArgs e ) : void
e EventArgs
Résultat void

RectFromValue() public méthode

Find the rectangle (in client coordinates) for a given value
public RectFromValue ( TriColorValue value ) : Rectangle
value TriColorValue
Résultat Rectangle

TriColorControl() public méthode

public TriColorControl ( ) : System
Résultat System

ValueFromPoint() public méthode

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
Résultat bool

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m Message
Résultat void