private List<string> GetVideosListToDownload() { var xmlHandler = new XmlHandler(); var videosList = xmlHandler.GetVideos(); return videosList.Where(video => !CheckVideoExists(video)).ToList(); }
public VideoPage() { InitializeComponent(); var xmlHandler = new XmlHandler(); _videoList = xmlHandler.GetVideos(); _buttons = new List<Button> { Closevideo }; Loaded += delegate { var kinectControl = new KinectControl(KinectButton, LayoutRoot.ActualHeight, LayoutRoot.ActualWidth, _buttons); //VideoControl.Width = LayoutRoot.ActualWidth; //VideoControl.Height = LayoutRoot.ActualHeight; _currentVideo = 0; PlayVideo(_currentVideo); }; }