private void Form5_video_Load(object sender, EventArgs e) { btnStop.Enabled = false; video = new cVideo(pictureBox1.Handle, 0, 0, pictureBox1.Width, pictureBox1.Height); video.StartVideo(); }
private void Form1_Load(object sender, EventArgs e) { btnStop.Enabled = false; video = new cVideo(pictureBox1.Handle, 0, 0, pictureBox1.Width, pictureBox1.Height); video.StartVideo(); }