Exemple #1
0
        private List<string> GetVideosListToDownload()
        {
            var xmlHandler = new XmlHandler();
            var videosList = xmlHandler.GetVideos();

            return videosList.Where(video => !CheckVideoExists(video)).ToList();
        }
Exemple #2
0
        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);
                };
        }