public void Set(int row, int col, int value) { Items[row][col] = new InputCell(row, col, value); }
public void Set(int row, int col, int value, bool isImmutable) { Items[row][col] = new InputCell(row, col, value); Items[row][col].IsImmutable = isImmutable; }
public SudokerGrid() { Items = new InputCell[9][]; for (int row = 0; row < 9; row++) { Items[row] = new InputCell[9]; for (int col = 0; col < 9; col++) { Set(row, col, 0); } } SolutionList = new SolutionList(); explorer = new Explorer(this); solver = new Solver(this, SolutionList); }