private void listTargets_SelectedIndexChanged(object sender, EventArgs e) { buttonRemove.Enabled = (listTargets.SelectedIndices.Count > 0); }