private void button1_Click(object sender, EventArgs e)
 {
     oWebCam           = new WebCamera();
     oWebCam.Container = pictureBox2;
     oWebCam.OpenConnection();
 }
 private void Form1_Load(object sender, EventArgs e)
 {
     oWebCam           = new WebCamera();
     oWebCam.Container = pictureBox1;
 }