Exemplo n.º 1
0
        private void SetSystem(string systemname)
        {
            List <EDWorld> planets;
            List <EDStar>  stars;

            if (systemname == null)
            {
                return;
            }

            textBoxSystemName.Text = systemname;

            edObjects.Clear();

            planets = edmat.GetAllWorlds(textBoxSystemName.Text);
            stars   = edmat.GetAllStars(textBoxSystemName.Text);

            edObjects.AddRange(planets);
            edObjects.AddRange(stars);
            UpDateListView();
            //addMaterialNodeControl1.CurrentSystem = currentSystem.name;
        }