Ejemplo n.º 1
0
        public void FillPlanetsList(int resourceId)
        {
            planetCollection.Clear();
            missionCollection.Clear();
            List <Planet> planets = planetSer.GetAllPlanetsByResource(resourceId);

            planets.ForEach(p =>
            {
                planetCollection.Add(p.PlanetName);
            });
            planetsListBox.UpdateLayout();
        }