private BlankCellSheetGroup GetSheetGroup(int bookIndex, int sheetIndex) { BookSheetKey key = new BookSheetKey(bookIndex, sheetIndex); BlankCellSheetGroup result = (BlankCellSheetGroup)_sheetGroupsByBookSheet[key]; if (result == null) { result = new BlankCellSheetGroup(); _sheetGroupsByBookSheet[key] = result; } return(result); }
private BlankCellSheetGroup GetSheetGroup(int bookIndex, int sheetIndex) { BookSheetKey key = new BookSheetKey(bookIndex, sheetIndex); BlankCellSheetGroup result = (BlankCellSheetGroup)_sheetGroupsByBookSheet[key]; if (result == null) { result = new BlankCellSheetGroup(); _sheetGroupsByBookSheet[key]= result; } return result; }
public void AddCell(int bookIndex, int sheetIndex, int rowIndex, int columnIndex) { BlankCellSheetGroup sbcg = GetSheetGroup(bookIndex, sheetIndex); sbcg.AddCell(rowIndex, columnIndex); }