public void DrawAllLayersObjects(Graphics graphics) { LayerCollection.ForEach(layer => { if (layer.visible) { layer.DrawAllObject(graphics); } }); }