private void CellVMNumberChanged(object sender, NumberChangedEventArgs e) { var cell = (ICellVM)sender; _gameBoard.Fields[cell.Index] = e.Number; }
private void RaiseNumberChanged(NumberChangedEventArgs e) { var handler = NumberChanged; if (handler != null) { handler(this, e); } }