摘要:
1 private void textBox3_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) 2 { 3 //阻止从键盘输入键 4 e.Handled = true; 5 if(e.KeyChar>='0' && e.KeyChar = '0' && e.KeyChar = '0' && e.KeyChar <= '9') || (e.KeyChar == (char)8))29 {30 阅读全文