public SudokuMarksForm(Sudoku sudoku, int[,] sudokuArray) { InitializeComponent(); fieldArray = Solver.CreateFieldMarkArray(sudoku, sudokuArray, false); this.sudoku = sudoku; this.sudokuArray = sudokuArray; CreateSudokuGrid(sudoku, sudokuArray); foreach (int i in sudoku.GetListOfAllIntegers()) { cb_CriteriaValue.Items.Add(i); } cb_CriteriaValue.SelectedIndex = 0; cb_HighlightCriteriaType.SelectedIndex = 0; }