/// <summary> /// allows the user to select which season they wish to add /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAdd_Click(object sender, EventArgs e) { if (showDetails != null) { if (AllSeasons != null) { ResultSelector selector = new ResultSelector(); selector.Items = AllSeasons; selector.ItemSelectedEvent += new ResultSelector.ItemSelected(selector_ItemSelectedEvent); selector.Visible = true; } } }
/// <summary> /// allows the user to select which season they wish to add /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAdd_Click(object sender, EventArgs e) { if (showDetails != null) { if( AllSeasons != null ) { ResultSelector selector = new ResultSelector(); selector.Items = AllSeasons; selector.ItemSelectedEvent += new ResultSelector.ItemSelected(selector_ItemSelectedEvent); selector.Visible = true; } } }