private void gotToLiveButton_Click(object sender, RoutedEventArgs e) { if (haveSetSource) { if (haveSetLiveOffset) { player.DesiredLiveOffset(liveOffset); } player.GoToLive(); rootPage.NotifyUser(String.Empty, NotifyType.StatusMessage); } else { rootPage.NotifyUser("You must set the source first before going to live", NotifyType.ErrorMessage); } }