public void SetSelection(List <string> inSelectionList) { _areaMapComponent.DeselectAll(false); List <Area> areas = new List <Area>(); foreach (string item in inSelectionList) { Area found = AreaMapComponent.FindArea(item); if (found != null) { areas.Add(found); } } if (areas.Count > 0) { _areaMapComponent.AddToSelection(areas, false); } _areaMapComponent.Invalidate(); }