Пример #1
0
 private void VlcMediaPlayer_OnPaused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     PlayerState = PlayerState.Paused;
     PlayerStateChanged?.Invoke(this, new PlayerStateChangedEventArgs
     {
         PlayerState = PlayerState
     });
 }
Пример #2
0
 private void vlcControl1_Paused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     isPaused = true;
     dSkinButton1.BeginInvoke(new EventHandler((ss, ee) =>
     {
         dSkinButton1.Image = Properties.Resources.play_normal;
         dSkinButton1.Invalidate();
     }));
 }
Пример #3
0
 private void OnPausedInternal(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     OnPaused();
 }
Пример #4
0
 private void OnVlcPaused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     myLblState.InvokeIfRequired(l => l.Text = "Paused");
 }
Пример #5
0
 void MediaPlayer_Paused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     _viewModel.State = LiveStreamPlayerState.Paused;
 }
Пример #6
0
 private void vlcPlayer_Paused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     _lyricTimer.Stop();
     _stopWatch.Stop();
 }
 private void OnPausedInternal(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     OnPaused();
 }
Пример #8
0
 /// 影片暫停事件
 private void PausedEventHandler(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     //Console.WriteLine("PausedEventHandler");
     this.VideoPlayerModel.Status = "Play";
 }
Пример #9
0
 /// <summary>The LibVLC Paused event handler</summary>
 /// <param name="sender">The object that triggered the event</param>
 /// <param name="e">The event arguments</param>
 private void VlcControl_Paused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     this.InvokeIfRequired(() => { playerStatusLabel.Text = Resources.TvForm_Paused; });
 }