private void txtSalary_KeyPress(object sender, KeyPressEventArgs e)
 {
     e.Handled = General.IsNumber(e);
 }
Example #2
0
 private void txtUserNo_KeyPress(object sender, KeyPressEventArgs e)
 {
     e.Handled = General.isNumber(e);
 }