public void StartNewGame() { ClickCount = 0; SecondsPlayed = -3; GameControlsVisibility = Visibility.Collapsed; _timer = new DispatcherTimer { Interval = TimeSpan.FromSeconds(1) }; _timer.Tick += HandleTimerTick; _timer.Start(); }
protected override void OnNavigatedTo(NavigationEventArgs e) { _game.StartNewGame(); }