110,532
社区成员
发帖
与我相关
我的任务
分享
private void txt_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar != (char)Keys.Back && !char.IsDigit(e.KeyChar) )
{
e.Handled = true;
}
}