protected virtual void OnSudokuStrategyUsed(SudokuStrategyUsedEventArgs e) { if (SudokuStrategyUsed != null) { SudokuStrategyUsed(this, e); } }
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(); }