public Bitmap DrawAreas() { AreaList.ForEach(x => x.DrawArea()); LinesList.ForEach(x => x.DrawLine()); GetRackList().ForEach(x => x.DrawRack()); AGVList.ForEach(x => x.LoadImage()); return(iBlade.DrawArea); }
public Bitmap DrawAreas() { LinesList.ForEach(x => x.DrawLine()); GetRackList().ForEach(x => x.DrawRack()); Area inbound = new Area("INBOUND", new Size(150, 100), new Point(130, 500)); Area outbound = new Area("OUTBOUND", new Size(150, 100), new Point(550, 500)); this.AreaList.Add(inbound); this.AreaList.Add(outbound); AreaList.ForEach(x => x.DrawArea()); return(iBlade.DrawArea); }