Exemplo n.º 1
0
 private void txtUserName_KeyPress(object sender, KeyPressEventArgs e)
 {
     e.Handled = ObjUtil.IsAlphaNumeric(e);
     if (e.Handled)
     {
         clsUtility.ShowInfoMessage("Enter Valid UserName...", clsUtility.strProjectTitle);
         txtUserName.Focus();
     }
 }