摘要: private void txtIVQ_KeyPress(object sender, KeyPressEventArgs e) { TextBox txt = (TextBox)sender; //只能输入1次小数点 if (e.KeyChar == 46 && txt.Text.Contains(".")) { e.Handled = true; //e.KeyChar = (... 阅读全文
posted @ 2010-07-01 17:24 BoyceLyu 阅读(629) 评论(1) 推荐(0) 编辑