Exemplo n.º 1
0
 private void VlcMediaPlayer_OnPaused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     PlayerState = PlayerState.Paused;
     PlayerStateChanged?.Invoke(this, new PlayerStateChangedEventArgs
     {
         PlayerState = PlayerState
     });
 }
Exemplo n.º 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();
     }));
 }
Exemplo n.º 3
0
 private void OnPausedInternal(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     OnPaused();
 }
Exemplo n.º 4
0
 private void OnVlcPaused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     myLblState.InvokeIfRequired(l => l.Text = "Paused");
 }
Exemplo n.º 5
0
 void MediaPlayer_Paused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     _viewModel.State = LiveStreamPlayerState.Paused;
 }
Exemplo n.º 6
0
 private void vlcPlayer_Paused(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     _lyricTimer.Stop();
     _stopWatch.Stop();
 }
 private void OnPausedInternal(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     OnPaused();
 }
Exemplo n.º 8
0
 /// 影片暫停事件
 private void PausedEventHandler(object sender, VlcMediaPlayerPausedEventArgs e)
 {
     //Console.WriteLine("PausedEventHandler");
     this.VideoPlayerModel.Status = "Play";
 }
Exemplo n.º 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; });
 }