Beispiel #1
0
 private void InitRowCells(int index, Class430 item)
 {
     if (!this.bool_0)
     {
         int count = this.class912_0.Count;
         if (item.Cells.Count < count)
         {
             int num = count - item.Cells.Count;
             for (int index1 = 0; index1 < num; ++index1)
             {
                 item.Cells.Add(new Class1026());
             }
         }
         else if (item.Cells.Count > count)
         {
             throw new ArgumentException("More cells in row than ColumnCount.");
         }
         if (index == 0 && !this.method_4() && count > 1)
         {
             item.Cells[0].MergedCellCountHorizontal = (int)(short)count;
         }
     }
     item.method_0(this);
 }
Beispiel #2
0
 private void method_18(object sender, int index, Class430 oldItem, Class430 newItem)
 {
     oldItem.method_0((Class551)null);
     this.InitRowCells(index, newItem);
 }
Beispiel #3
0
 private void method_17(object sender, int index, Class430 item)
 {
     item.method_0((Class551)null);
 }