/// <summary> /// Handles the Click event of the btnAdd control. /// Adds an entry to the list. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void btnAdd_Click(object sender, EventArgs e) { frmAddWon awFrm = new frmAddWon(); awFrm.ShowDialog(this); string toAdd = awFrm.getInput(); if (toAdd != "") { lbWon.Items.Add(toAdd); } }
// Adds an entry to the list. private void btnAdd_Click(object sender, EventArgs e) { frmAddWon awFrm = new frmAddWon(); awFrm.ShowDialog(this); string toAdd = awFrm.getInput(); if (toAdd != "") { lbWon.Items.Add(toAdd); } }