private void BrowseBtn2_Click(object sender, EventArgs e) { videoController.CleanFolder(2); if (openFileDialog.ShowDialog() == DialogResult.OK) { string filename = openFileDialog.FileName; file2 = filename; VideoTextPath2.Text = filename; videoController.OpenVideo(filename, 2); imgArr2 = videoController.Frames2(); img2 = videoController.ChosenFrame2(); pictureBox2.Image = img2; } }