Exemple #1
0
 public ColumnCollapseSubOrder(Cell c, float f)
 {
     ChangeToWidth = f;
     Victim = c;
 }
Exemple #2
0
        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));
        }