Ejemplo n.º 1
0
 public string GetCellLocation(Cell cell)
 {
     return GetCellLocation(cellpositions[cell]);
 }
Ejemplo n.º 2
0
 public Cell AddCell(Cell cell, int xpos, int ypos)
 {
     var pos = Tuple.Create(xpos, ypos);
     spreadsheet.Add(pos, cell);
     cellpositions.Add(cell, pos);
     if (xpos > xmax) xmax = xpos;
     if (ypos > ymax) ymax = ypos;
     return cell;
 }