C# Class CustomMenus.AddShapefile

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

Public Methods

Method Description
AddShapefile ( ) : System
AddShapefileUsingOpenFileDialog ( ESRI activeView ) : void

Add a shapefile to the ActiveView using the Windows.Forms.OpenFileDialog control.

OnClick ( ) : void

Occurs when this command is clicked

OnCreate ( object hook ) : void

Occurs when this command is created

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
UnregisterFunction ( Type registerType ) : void

Method Details

AddShapefile() public method

public AddShapefile ( ) : System
return System

AddShapefileUsingOpenFileDialog() public method

Add a shapefile to the ActiveView using the Windows.Forms.OpenFileDialog control.
public AddShapefileUsingOpenFileDialog ( ESRI activeView ) : void
activeView ESRI An IActiveView interface
return void

OnClick() public method

Occurs when this command is clicked
public OnClick ( ) : void
return void

OnCreate() public method

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