摘要: 方法一: private void tBox_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 0x20) e.KeyChar = (char)0; //禁止空格键 if ((e.KeyChar == 0x2D) && ( 阅读全文
posted @ 2016-12-26 08:16 野性狼心 阅读(936) 评论(0) 推荐(0)