常用方法
常用方法
常用方法
常用方法
private void tb_contract_KeyPress(object sender, KeyPressEventArgs e) { if (!ModifierKeys.HasFlag(Keys.Control)) { e.Handled = !TextValidator.isNumber(e.KeyChar.ToString()); } }
private void tb_contract_KeyPress(object sender, KeyPressEventArgs e) { if (!ModifierKeys.HasFlag(Keys.Control)) { e.Handled = !TextValidator.isNumber(e.KeyChar.ToString()); } }