摘要:方法一: private void tBox_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 0x20) e.KeyChar = (char)0; //禁止空格键 if ((e.KeyChar == 0x2D) && ( 阅读全文
posted @ 2018-12-04 14:16 笑笑小白 阅读(5104) 评论(0) 推荐(0) 编辑