会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
baileyer
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
WinForm
WinForm 校验只能输入数字英文字母退格键
摘要:private void TextBoxKeyPress(object sender, KeyPressEventArgs e) { // 48代表0,57代表9,8代表退格删除,46代表小数点 if ((e.KeyChar <= 48 || e.KeyChar >= 57) && (e.KeyCh
阅读全文
posted @
2019-05-16 14:46
baileyer
阅读(295)
评论(0)
推荐(0)
公告