public ColumnCollapseSubOrder(Cell c, float f) { ChangeToWidth = f; Victim = c; }
internal void AddRowOrder(Cell cell, float widthChange) { bool existed = false; foreach (ColumnCollapseSubOrder ccso in SubOrderList) { if (ccso.Victim == cell) { ccso.ChangeToWidth += widthChange; existed = true; break; } } if (!existed) SubOrderList.Add(new ColumnCollapseSubOrder(cell, widthChange)); }