Beispiel #1
0
        private void BrowseBtn_Click(object sender, EventArgs e)
        {
            videoController.CleanFolder(1);
            if (openFileDialog.ShowDialog() == DialogResult.OK)
            {
                string filename = openFileDialog.FileName;
                file1 = filename;
                VideoTextPath.Text = filename;

                videoController.OpenVideo(filename, 1);
                imgArr1           = videoController.Frames();
                img1              = videoController.ChosenFrame1();
                pictureBox1.Image = img1;
            }
        }