private void eliminarDeLaLista(ListBox lista) { if (lista.SelectedIndex != -1) lista.Items.RemoveAt(lista.SelectedIndex); }