private void removeButton_Click(object sender, EventArgs e) { items.Remove((string)listBox.SelectedItem); refreshListBox(); }