示例#1
0
        public AnnotationForm(ShotDetectionModel shotDetectionModel, Shot shot)
        {
            InitializeComponent();

            this.shotDetectionModel = shotDetectionModel;
            this.shot = shot;
            txtAnnotations.Text = String.Join(", ", shot.Annotations);
        }
示例#2
0
        public MediaPlayer()
        {
            InitializeComponent();

            videoModel = new VideoModel();

            shotDetectionModel = new ShotDetectionModel(lstShots);

            cmbMethod.DataSource = shotDetectionModel.DetectionItems;

            pnlParameters.Controls.Add(shotDetectionModel.DetectionItems[0].SDUserControl);
        }