Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var allowedKeys = promesana_rec.Select(ch => (Keys)Convert.ToInt32(char.ToUpper(ch)));
- e.SuppressKeyPress = !allowedKeys.Contains(e.KeyCode) && new[] { Keys.None, Keys.Shift }.Contains(e.Modifiers);
Advertisement
Add Comment
Please, Sign In to add comment