// Hind the window void CloseApp() { // Reset the quesitons MyTest = new Test(); AnswerIndex = 0; WrongAnswerIndex = 0; VidPlayer.Source = null; VidPlayer.Stop(); VolumeHandler.TurnOffVolumeTimer(); main.Hide(); }
private void Btnstop_Click(object sender, RoutedEventArgs e) { VidPlayer.Stop(); mediaPlayerIsPlaying = false; btnplay.Content = "Play"; }