public void addCarpeta(Carpeta c) { c.Width = 250; c.Height = 400; c.Margin = new Thickness(40, 40, 40, 40); if (!c.getClass().img.Equals("")) { c.setImg(); } else { c.setDefaultSource(); } //c.changeColor(System.Drawing.Color.Red); wrapPanel.Children.Add(c); hijos.Add(c); }