コード例 #1
0
 private void checkSudokuButton_Click(object sender, RoutedEventArgs e)
 {
     string sudoku = sudokuTextBox.Text;
     if (sudoku == "test")
     {
         sudoku = exampleSudoku;
     }
     checker = new Checker(sudoku);
     outputTextBlock.Text = checker.FormatSudoku();
     Solver solver = new Solver(sudoku);
     outputTextBlock.Text = String.Join(",", solver.GetEmptyPlacesPerSquare());
 }