C# Class ToolAndControlSampleCS.ToolSample

Inheritance: BaseTool
Mostra file Open project: Esri/arcobjects-sdk-community-samples

Public Methods

Method Description
Deactivate ( ) : bool
OnCreate ( object hook ) : void

Occurs when this tool is created

OnKeyDown ( int keyCode, int Shift ) : void
OnMouseDown ( int Button, int Shift, int X, int Y ) : void
OnMouseMove ( int Button, int Shift, int X, int Y ) : void
Refresh ( int hDC ) : void
ToolSample ( ) : System

Private Methods

Method Description
ArcGISCategoryRegistration ( Type registerType ) : void

Required method for ArcGIS Component Category registration - Do not modify the contents of this method with the code editor.

ArcGISCategoryUnregistration ( Type registerType ) : void

Required method for ArcGIS Component Category unregistration - Do not modify the contents of this method with the code editor.

RegisterFunction ( Type registerType ) : void
Reset ( bool resetColor ) : void
SetCursor ( double radianAngle ) : void
UnregisterFunction ( Type registerType ) : void

Method Details

Deactivate() public method

public Deactivate ( ) : bool
return bool

OnCreate() public method

Occurs when this tool is created
public OnCreate ( object hook ) : void
hook object Instance of the application
return void

OnKeyDown() public method

public OnKeyDown ( int keyCode, int Shift ) : void
keyCode int
Shift int
return void

OnMouseDown() public method

public OnMouseDown ( int Button, int Shift, int X, int Y ) : void
Button int
Shift int
X int
Y int
return void

OnMouseMove() public method

public OnMouseMove ( int Button, int Shift, int X, int Y ) : void
Button int
Shift int
X int
Y int
return void

Refresh() public method

public Refresh ( int hDC ) : void
hDC int
return void

ToolSample() public method

public ToolSample ( ) : System
return System