private void GetOcrButton_Click(object sender, EventArgs e) { if (SelectedSnapShot == null) { return; } OcrResultForm OcrInstance = OcrResultForm.Instance; OcrInstance.SetOcr(SelectedSnapShot); }
private void OcrResultForm_FormClosed(object sender, FormClosedEventArgs e) { Instance = null; }