摘要: 给TextBox控件加上KeyPress事件,事件代码如下: private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if ((int)e.KeyChar >= 65296 && (int)e.KeyChar <= 65305) { e.KeyChar = (char)((int)e.KeyChar - 65248); } } 阅读全文
posted @ 2010-01-09 16:40 冯翔 阅读(570) 评论(0) 推荐(0) 编辑