public virtual void clearCellRef() { cellIdMap = null; cellList = null; Current = null; SavedCurrent = null; int rowSize = RowSize; int colSize = ColSize; for (int i = 1; i < rowSize; i++) { for (int j = 1; j < colSize; j++) { CellExt ext = getCell(i, j); if (ext != null) { ext.clearCellRef(); } } } }