private void movieButton9_Click(object sender, RoutedEventArgs e) { _sensor.AllFramesReady -= _sensor_AllFramesReady; Player newplayer = new Player("TheWolverine"); this.NavigationService.Navigate(newplayer); }
private void movieButton1_Click(object sender, RoutedEventArgs e) { _sensor.AllFramesReady -= _sensor_AllFramesReady; //_sensor.Stop(); Player newplayer = new Player("Frozen"); this.NavigationService.Navigate(newplayer); }