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