摘要:
只能输入数字的TextBox 代码如下: private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if(!char.IsDigit(e.KeyChar)) e.Handled = true; //'\b'是退格键值 if(e.KeyCh... 阅读全文
posted @ 2008-07-02 10:48 Leo(binbin) 阅读(384) 评论(0) 推荐(0)
浙公网安备 33010602011771号