C# Class NewTOAPIA.UI.ActiveArea

Inheritance: GraphicGroup, IInteractor
显示文件 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
ActiveArea ( string name, Rectangle rect ) : System
ActiveArea ( string name, int x, int y, int width, int height ) : System
OnGraphicAdded ( IGraphic aGraphic ) : void
OnMouseDown ( MouseActivityArgs e ) : void
OnMouseEnter ( MouseActivityArgs e ) : void

OnMouseEnter This gets called whenever the pointing device enters our frame. We want to do interesting things here like change the cursor shape to be whatever we require.

OnMouseHover ( MouseActivityArgs e ) : void
OnMouseLeave ( MouseActivityArgs e ) : void
OnMouseMove ( MouseActivityArgs e ) : void
OnMouseUp ( MouseActivityArgs e ) : void
OnMouseWheel ( MouseActivityArgs e ) : void

Protected Methods

Method Description
SelectCursor ( ) : void

Method Details

ActiveArea() public method

public ActiveArea ( string name, Rectangle rect ) : System
name string
rect System.Drawing.Rectangle
return System

ActiveArea() public method

public ActiveArea ( string name, int x, int y, int width, int height ) : System
name string
x int
y int
width int
height int
return System

OnGraphicAdded() public method

public OnGraphicAdded ( IGraphic aGraphic ) : void
aGraphic IGraphic
return void

OnMouseDown() public method

public OnMouseDown ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

OnMouseEnter() public method

OnMouseEnter This gets called whenever the pointing device enters our frame. We want to do interesting things here like change the cursor shape to be whatever we require.
public OnMouseEnter ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

OnMouseHover() public method

public OnMouseHover ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

OnMouseLeave() public method

public OnMouseLeave ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

OnMouseMove() public method

public OnMouseMove ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

OnMouseUp() public method

public OnMouseUp ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

OnMouseWheel() public method

public OnMouseWheel ( MouseActivityArgs e ) : void
e MouseActivityArgs
return void

SelectCursor() protected method

protected SelectCursor ( ) : void
return void