
展开全部
private void txt_Barcode_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 13)
{
txt_Kco.Focus();
this.txt_Sequ.ReadOnly = true;
}
}
获得当前点击的keychar判断是否为13,13就是回车的转义符。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
private void txt_Barcode_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 13)
{
txt_Kco.Focus();
this.txt_Sequ.ReadOnly = true;
}
}
获得当前点击的keychar判断是否为13,13就是回车的转义符。
类别
我们会通过消息、邮箱等方式尽快将举报结果通知您。
说明
0/200