摘要:
1.只能输入数字: private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if (!(((e.KeyChar >= '0') && (e.KeyChar <= '9')) || e.KeyChar <= 31)) { if (e.KeyChar == '.') { e.Handle... 阅读全文
posted @ 2009-07-22 15:44 俗人一个 阅读(1336) 评论(0) 推荐(2) 编辑