private void log(string msg) { TestLogger.LogMessage(msg); }
virtual protected void MediaEnded(object sender, RoutedEventArgs e) { UnhookEventHandlers(); TestLogger.LogMessage("MediaEnded: " + ((MediaElement)sender).Source); TestLogger.LogImportantMessage("Playback succeeded"); }
virtual protected void MediaOpened(object sender, RoutedEventArgs e) { TestLogger.LogMessage("MediaOpened: " + ((MediaElement)sender).Source); }
protected void CurrentStateChanged(object sender, RoutedEventArgs e) { TestLogger.LogMessage("CurrentState:" + ((MediaElement)sender).CurrentState); }