C# TextBox 只能输入数字
摘要:
private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { TextBox txt = sender as TextBox; //屏蔽非法按键,只能输入小数 ... 阅读全文
posted @ 2015-09-22 14:47 strangeman 阅读(373) 评论(0) 推荐(0) 编辑
posted @ 2015-09-22 14:47 strangeman 阅读(373) 评论(0) 推荐(0) 编辑