private void timer1_Tick(object sender, EventArgs e) { Image img = cap.GetCaptureImage(); cap.FreeCaptureImage(); pictureBox1.Image = img; }