RSSWeatherLayer.WeatherItemSelectionDlg.lstWeatherItemNames_DoubleClick C# (CSharp) Method

lstWeatherItemNames_DoubleClick() private method

listbox's double-click event handler
private lstWeatherItemNames_DoubleClick ( object sender, System e ) : void
sender object
e System
return void
		private void lstWeatherItemNames_DoubleClick(object sender, System.EventArgs e)
		{
      //set the dialog results to OK
			this.DialogResult = DialogResult.OK;

      //select the items which the user double-clicked
			SelectWeatherItems();
		}