private void btnPlay_Click(object sender, System.EventArgs e) { if(video != null) { video.Dispose(); video = null; } video = new Video(txtVideoFile.Text); video.Start(); video.StopPlay += new Video.DxPlayEvent(video_StopPlay); }
public void CheckIfVideoIsAvailable() { if (P_VIDEO_STATUS == SktParticipant.VIDEO_STATUS.VIDEO_AVAILABLE) { video = (Video)this.GetVideo(); video.participant = this; video.Start(); } }