Ejemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     for (int i = 0; i < checkedListBox2.Items.Count; i++)
     {
         checkedListBox2.Items.RemoveAt(i);
         i--;
     }
     Trains.GetTrains().Clear();
 }