摘要: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
浙公网安备 33010602011771号