Intermec判断文本框内录入的字符是否为回车

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar != '\x0D')
            {
                return;
            }
        }

  判断文本框内录入的字符是否为回车

原文地址:https://www.cnblogs.com/zhuduozhe/p/2714234.html