Exemplo n.º 1
0
 public SmallVideoPresenter(ISmallView view, Action <ICameraModel> handler)
 {
     ComposContainer.Instance().Compose(this);
     if ((view != null) && (handler != null))
     {
         _view       = view;
         FullScreen += handler;
     }
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        private List <IVideoBase> GetListView()
        {
            List <IVideoBase> list = new List <IVideoBase>();
            int count = _activeGroup.Cameras.Count;

            for (int i = 0; i < count; i++)
            {
                ISmallView view = _smallPresenters[i].GetView();
                view.ClearPanel();
                list.Add(view);
            }
            return(list);
        }