public FormTisda()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //Initialize managers
            video_manager = new VideoManager();
            shotdetector = new ShotDetector();
            xml_creator = new XMLCreator();

            //Assign datasources
            listBoxShots.DataSource = video_manager.FilteredShotList;
            comboBoxDetectionMethod.DataSource = shotdetector.DetectionMethods;

            //Initialize stopwatch
            sw = new Stopwatch();

            //Initialize
            selected_index = 0;
            comboBoxDetectionMethod.SelectedIndex = selected_index;
            panelParameters.Controls.Add((UserControl)shotdetector.Panels[selected_index]);
        }
        public FormTisda()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //Initialize managers
            video_manager = new VideoManager();
            shotdetector  = new ShotDetector();
            xml_creator   = new XMLCreator();

            //Assign datasources
            listBoxShots.DataSource            = video_manager.FilteredShotList;
            comboBoxDetectionMethod.DataSource = shotdetector.DetectionMethods;

            //Initialize stopwatch
            sw = new Stopwatch();

            //Initialize
            selected_index = 0;
            comboBoxDetectionMethod.SelectedIndex = selected_index;
            panelParameters.Controls.Add((UserControl)shotdetector.Panels[selected_index]);
        }