C# Класс EarthquakeAddin.EarthquakeWidget

Наследование: System.Windows.Controls.UserControl, IWidget, IMapWidgetConsumer
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
AddEarthquakesToMap void
FeedListBox_SelectionChanged void
GetMapAndAddEarthquakes void
_xmlData_DataChanged void

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

Метод Описание
Configure ( Window owner, IList dataSources ) : bool
EarthquakeWidget ( ) : System
OnActivated ( ) : void
OnDeactivated ( ) : void

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

Метод Описание
AddEarthquakesToMap ( ) : void

Extracts earthquake information from the feed and turns this into a graphics layer in the map.

FeedListBox_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Handler for when the feed list box selection changes.

GetMapAndAddEarthquakes ( ) : void

Gets the Map from a specific MapWidget that is identified by ID, accounting for widgets that may not yet be initialized by hooking an event handler and waiting for initialization of uninitialized maps. Once retrieved, add earthquakes to the map based on the currently selected feed.

_xmlData_DataChanged ( object sender, EventArgs e ) : void

Called when the feed has been read.

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

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

public Configure ( Window owner, IList dataSources ) : bool
owner System.Windows.Window
dataSources IList
Результат bool

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

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

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

public OnActivated ( ) : void
Результат void

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

public OnDeactivated ( ) : void
Результат void