예제 #1
0
 /// <summary>
 /// Начать процесс воспроизведения
 /// </summary>
 public void StartPlay(IVideoScreen videoScreen)
 {
     _videoPresenter = new VideoPresenter(videoScreen);
     _playThread     = new Thread(Playing);
     _playThread.Start();
 }
예제 #2
0
 public VideoPresenter(IVideoScreen videoScreen)
 {
     _viewer = videoScreen;
 }
 /// <summary>
 /// Начать воспроизведение информации
 /// </summary>
 /// <param name="pictureBox">Контрол, отображающий видео</param>
 public void StartPlay(IVideoScreen pictureBox)
 {
     _contentPlayer.StartPlay(pictureBox);
     _view.PlayEnabled = true;
 }
예제 #4
0
 /// <summary>
 /// Начать воспроизведение информации
 /// </summary>
 /// <param name="pictureBox">Контрол, отображающий видео</param>
 public void StartPlay(IVideoScreen pictureBox)
 {
     _contentPlayer.StartPlay(pictureBox);
 }