摘要: 方法一: private void tBox_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 0x20) e.KeyChar = (char)0; //禁止空格键 if ((e.KeyChar == 0x2D) && (((TextBox... 阅读全文
posted @ 2016-12-25 15:42 浆糊033 阅读(34524) 评论(0) 推荐(1) 编辑