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