//printer of the Sudoku and gridHandler doesn't change in the process of SudokuApp running public void InitNewAppHandler(DataGridView dataGridView) { gridHandler = new GridHandler(dataGridView); printer = new SudokuPrinter(gridHandler); }
public SudokuGenerator(GridHandler gh) { this.gh = gh; rnd = new Random(); }
public SudokuPrinter(GridHandler gh) { this.gh = gh; }