C# Class SampleApp.Canvas

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: accord-net/framework

Public Methods

Method Description
Canvas ( ) : System
Clear ( ) : void
GetDigit ( ) : double[]
GetSequence ( ) : Point[]
SetDigit ( Bitmap bmp ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

Method Details

Canvas() public method

public Canvas ( ) : System
return System

Clear() public method

public Clear ( ) : void
return void

Dispose() protected method

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

GetDigit() public method

public GetDigit ( ) : double[]
return double[]

GetSequence() public method

public GetSequence ( ) : Point[]
return Point[]

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

SetDigit() public method

public SetDigit ( Bitmap bmp ) : void
bmp System.Drawing.Bitmap
return void