RSSWeatherLayer.WeatherItemSelectionDlg.WeatherItemSelectionDlg C# (CSharp) Method

WeatherItemSelectionDlg() public method

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

			InitializeComponent();

      //get the layer
			m_weatherLayer	=	weatherLayer;
			m_activeView		=	activeView;

      //get the list of all citynames for all items in the layer
			m_cityNames			= m_weatherLayer.GetCityNames();

      //create a table to host the citynames
			m_weatherItemsTable = new DataTable("CityNames");
			m_weatherItemsTable.Columns.Add("CITYNAME", typeof(string));

			//populate the listbox and build a table containing the items
			PopulateList();
		}