private void _miOcrComponents_Click(object sender, EventArgs e) { OcrEngineComponentsDialog dlg = new OcrEngineComponentsDialog(_ocrEngine); dlg.ShowDialog(this); }
private void _menuItemComponents_Click(object sender, EventArgs e) { // Show the dialog to let the user see the OCR components installed on this system using (OcrEngineComponentsDialog dlg = new OcrEngineComponentsDialog(ocrEngine)) dlg.ShowDialog(this); }