C# Class GraphicsLayerToolControl.GraphicsLayersListCtrl

显示文件 Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Properties

Property Type Description
cmbGraphicsLayerList System.Windows.Forms.ComboBox
lblGraphicsLayer System.Windows.Forms.Label

Public Methods

Method Description
GraphicsLayersListCtrl ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GetGraphicsLayersList ( ) : IEnumLayer

get the list of all graphics layers in the map

InitializeComponent ( ) : void

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

OnItemAdded ( object Item ) : void

occurs when a layer is being added to the map

OnItemDeleted ( object Item ) : void

occurs when a layer is being deleted from the map

OnItemReordered ( object Item, int toIndex ) : void

occurs when a layer is being reordered in the TOC

PopulateCombo ( ) : void

list the graphics layers in the combo and select the active graphics layer

cmbGraphicsLayerList_SelectedIndexChanged ( object sender, EventArgs e ) : void

occurs when the user select an item from the combo

Method Details

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

GraphicsLayersListCtrl() public method

public GraphicsLayersListCtrl ( ) : System
return System

Property Details

cmbGraphicsLayerList public_oe property

public System.Windows.Forms.ComboBox cmbGraphicsLayerList
return System.Windows.Forms.ComboBox

lblGraphicsLayer public_oe property

public System.Windows.Forms.Label lblGraphicsLayer
return System.Windows.Forms.Label