Пример #1
0
        public VideoQueryForm()
        {
            InitializeComponent();

            PopulateSearchScope();
            setListViewColumns();


            rand = new Random((int)DateTime.Now.Ticks);

            var now = DateTime.Now;

            this.timeTO.EditValue   = now;
            this.timeFrom.EditValue = now.AddDays(-1);

            var videoNavigator = new NullNavigator();

            this.controlNavigator1.NavigatableControl = videoNavigator;

            videoGrid.DataSource = _videos;
            //licenseplatesGrid.DataSource = _licensePlates;

            faceGalleryControl.Gallery.ItemCheckedChanged += Gallery_ItemCheckedChanged;
            _galleryGroup = new GalleryItemGroup();
            faceGalleryControl.Gallery.Groups.Add(_galleryGroup);
        }
Пример #2
0
        public VideoQueryForm()
        {
            InitializeComponent();

            PopulateSearchScope();
            setListViewColumns();

            rand = new Random((int)DateTime.Now.Ticks);

            var now = DateTime.Now;
            this.timeTO.EditValue = now;
            this.timeFrom.EditValue = now.AddDays(-1);

            var videoNavigator = new NullNavigator();
            this.controlNavigator1.NavigatableControl = videoNavigator;

            videoGrid.DataSource = _videos;
            //licenseplatesGrid.DataSource = _licensePlates;

            faceGalleryControl.Gallery.ItemCheckedChanged += Gallery_ItemCheckedChanged;
            _galleryGroup = new GalleryItemGroup();
            faceGalleryControl.Gallery.Groups.Add(_galleryGroup);
        }