摘要:
文本框数字,数值校验 public void DigitCheck_KeyPress(object sender, KeyPressEventArgs e) { e.Handled = !char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar); } public void DecimalCheck_KeyPress(object sender, KeyPressEventArgs e) { if (!char.IsControl(... 阅读全文