public void PopulatePanel(List <Shape> shapePanel) { shapePanel.Clear(); foreach (var item in ShapeList.ToList()) { shapePanel.Add(item); } }