private void MenuVMStartGameRequested(object sender, StartGameEventArgs e) { _gameVM = _gameVMFactory.CreateInstance(e.Difficulty); _gameVM.GameCompleted += GameVMGameCompleted; Content = _gameVM; }
public void RaiseStartGameRequested(StartGameEventArgs e) { var handler = StartGameRequested; if (handler != null) { handler(this, e); } }