110,536
社区成员
发帖
与我相关
我的任务
分享
if (Char.IsControl(e.KeyChar))
{
return;
}
if (!Char.IsDigit(e.KeyChar))
{
e.KeyChar = Char.MinValue;
}