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;
            }
        }
Пример #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;
            }
        }