private TekArea CopyArea(TekArea area) { TekArea result = new TekArea(area.AreaNum); foreach (TekField field in area.Fields) { result.AddField(Fields[field.Row, field.Col]); } return(result); }
public TekArea DefineArea(List <TekField> list) { TekArea result = new TekArea(Areas.Count()); foreach (TekField f in list) { result.AddField(f); } Areas.Add(result); return(result); }