Esempio n. 1
0
        private void onPlayVideo(string videoId)
        {
            SplitScreenPanel panel = FindSplitScreen();

            if (panel != null)
            {
                panel.PlayVideoOnBlank(videoId);
            }
        }
        public void Drop(DropInfo info)
        {
            _mouseOn  = false;
            _accepted = false;
            ResetAdorner();
            List <string> ids = info.Data as List <string>;

            if (ids != null)
            {
                SplitScreenPanel ssp = info.Target as SplitScreenPanel;
                if (ssp != null)
                {
                    foreach (string id in ids)
                    {
                        ssp.PlayVideoOnBlank(id);
                    }
                }
            }
        }