示例#1
0
文件: Video.cs 项目: zodsoft/Video
 void pause()
 {
     if (is_playinig_)
     {
         timer1.Stop();
         vlc_player_.SetPlayTime(vlc_player_.GetPlayTime());
         vlc_player_.Pause();
         is_playinig_ = false;
     }
     else
     {
         timer1.Start();
         vlc_player_.SetPlayTime(vlc_player_.GetPlayTime());
         vlc_player_.Pause();
         is_playinig_ = true;
     }
 }
示例#2
0
 public void Pause()
 {
     player.Pause();
 }