C# Class RSSWeatherLayer.WeatherItemSelectionDlg

Select by city name dialog
Allows users to select items according to city names.
Inheritance: System.Windows.Forms.Form
Show file Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
WeatherItemSelectionDlg ( RSSWeatherLayerClass weatherLayer, IActiveView activeView ) : System

class constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddListItemString ( string item ) : void

Make Thread-Safe Calls to Windows Forms Controls

HideProgressBar ( ) : void

hide the progressbar and show the refresh button

IncrementProgressBar ( ) : void

increments the progressbar of the refresh list button

InitializeComponent ( ) : void

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

PopulateList ( ) : void

Populate the listbox with the citynames

PopulateSubListProc ( ) : void

Populate the listbox according to a selection criteria

PopulateWeatherItemsTableProc ( ) : void

Populate the listbox with the layer's list of cityNames

SelectWeatherItems ( ) : void

select a weather items given selected items from the listbox

ShowProgressBar ( ) : void

show the progressbar and hide the refresh button

WeatherItemSelectionDlg_Load ( object sender, System e ) : void

Event handler for Form::Load

WeatherItemSelectionDlg_VisibleChanged ( object sender, System e ) : void

dialog visible change event handler

btnDismiss_Click ( object sender, System e ) : void

dismiss button event handler

btnRefreshList_Click ( object sender, System e ) : void

refresh button click event handler

btnSelect_Click ( object sender, System e ) : void

Select button click event handler

lstWeatherItemNames_DoubleClick ( object sender, System e ) : void

listbox's double-click event handler

lstWeatherItemNames_MouseDown ( object sender, System e ) : void

listbox's event handler for mousedown

menuZoomTo_Click ( object sender, System e ) : void

ZoomTo menu click event handler

txtSelect_TextChanged ( object sender, System e ) : void

selection textbox text change event handler

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

WeatherItemSelectionDlg() public method

class constructor
public WeatherItemSelectionDlg ( RSSWeatherLayerClass weatherLayer, IActiveView activeView ) : System
weatherLayer RSSWeatherLayerClass
activeView IActiveView
return System