private void txtPersonId_DoubleClick(object sender, EventArgs e) { if (frmOCRLive.Visible == false) { Point p = new Point(0, 0); frmOCRLive = new OCRLiveForm(); if (frmOCRLive.ShowDialog() == DialogResult.OK) { txtPersonId.Text = frmOCRLive.OcrDecodeString; } //frmOCRLive.ShowDialog(); } else { frmOCRLive.BringToFront(); } }
public OperatorForm() { InitializeComponent(); frmOCRLive = new OCRLiveForm(); }