using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SCJMapper_V2.Layout { /// /// A display list of items to be drawn in the paint event /// class DisplayList : List { /// /// Draw all items in the list /// /// Graphics context to draw to public void DrawList( Graphics g ) { foreach ( var item in this ) { item.DrawShape( g ); } } } }