Beispiel #1
0
 protected virtual void OnSudokuStrategyUsed(SudokuStrategyUsedEventArgs e)
 {
     if (SudokuStrategyUsed != null)
     {
         SudokuStrategyUsed(this, e);
     }
 }
Beispiel #2
0
 private void frmSudoku_SudokuStrategyUsed(object sender, SudokuStrategyUsedEventArgs e)
 {
     this.solutionDetails.AppendFormat(
         "{0}: Cell [{1}, {2}] = {3}", e.Strategy, e.Row + 1, e.Col + 1, e.Value);
     this.solutionDetails.AppendLine();
 }