Ejemplo n.º 1
0
        private void FrmRecognitionTaoBao_Load(object sender, EventArgs e)
        {
            txtContent.Focus();
            txtContent.Select();
            var result = BillPrintHelper.GetAutoPasteAndRecognition();

            if (!string.IsNullOrEmpty(result))
            {
                ckAutoPasteAndRecognition.Checked = result == "1";
            }
            if (ckAutoPasteAndRecognition.Checked)
            {
                txtContent.Text = Clipboard.GetText();
                Recognition();
            }
        }