示例#1
0
 private void tb_cipher_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (!ModifierKeys.HasFlag(Keys.Control))
     {
         e.Handled = !TextValidator.isCipher(e.KeyChar.ToString());
     }
 }