private void btnPicture_Click(object sender, EventArgs e)
        {
            //taking picture
            frmTakePicture frm = new frmTakePicture();

            if(frm.ShowDialog()== System.Windows.Forms.DialogResult.OK)
            {
                pbImage.Image = (Image)frm.Tag;
            }
        }
Ejemplo n.º 2
0
        private void btnTake2_Click(object sender, EventArgs e)
        {
            frmTakePicture frm = new frmTakePicture();

            if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                pbFetcher.Image = (Image)frm.Tag;
            }
        }