Пример #1
0
        private void btnBereken_Click(object sender, EventArgs e)
        {
            lBContainers.Items.Clear();
            train.ClearTrain();

            train.AddAnimals(circusAnimals);

            lBContainers.Items.Clear();

            foreach (Container container in train.GetContainers())
            {
                lBContainers.Items.Add(container);
            }
        }