C# Класс GraphicsLayerToolControl.GraphicsLayersListCtrl

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
cmbGraphicsLayerList System.Windows.Forms.ComboBox
lblGraphicsLayer System.Windows.Forms.Label

Открытые методы

Метод Описание
GraphicsLayersListCtrl ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

GraphicsLayersListCtrl() публичный Метод

public GraphicsLayersListCtrl ( ) : System
Результат System

Описание свойств

cmbGraphicsLayerList публичное свойство

public System.Windows.Forms.ComboBox cmbGraphicsLayerList
Результат System.Windows.Forms.ComboBox

lblGraphicsLayer публичное свойство

public System.Windows.Forms.Label lblGraphicsLayer
Результат System.Windows.Forms.Label