private void VlcMediaPlayer_OnPaused(object sender, VlcMediaPlayerPausedEventArgs e) { PlayerState = PlayerState.Paused; PlayerStateChanged?.Invoke(this, new PlayerStateChangedEventArgs { PlayerState = PlayerState }); }
private void vlcControl1_Paused(object sender, VlcMediaPlayerPausedEventArgs e) { isPaused = true; dSkinButton1.BeginInvoke(new EventHandler((ss, ee) => { dSkinButton1.Image = Properties.Resources.play_normal; dSkinButton1.Invalidate(); })); }
private void OnPausedInternal(object sender, VlcMediaPlayerPausedEventArgs e) { OnPaused(); }
private void OnVlcPaused(object sender, VlcMediaPlayerPausedEventArgs e) { myLblState.InvokeIfRequired(l => l.Text = "Paused"); }
void MediaPlayer_Paused(object sender, VlcMediaPlayerPausedEventArgs e) { _viewModel.State = LiveStreamPlayerState.Paused; }
private void vlcPlayer_Paused(object sender, VlcMediaPlayerPausedEventArgs e) { _lyricTimer.Stop(); _stopWatch.Stop(); }
private void OnPausedInternal(object sender, VlcMediaPlayerPausedEventArgs e) { OnPaused(); }
/// 影片暫停事件 private void PausedEventHandler(object sender, VlcMediaPlayerPausedEventArgs e) { //Console.WriteLine("PausedEventHandler"); this.VideoPlayerModel.Status = "Play"; }
/// <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; }); }