winforms - Filter input from keyboard in Textbox, C# -


Based on the type of input I want to filter the keyboard input in the text box.

For only 2 alphabets for only 1 alphabet,

If 0 is configured and pressed on a letter 'A' keyboard, then this text Not shown in the box. How do I do C #

Thank you

You need to subscribe to control keypress events (and optional Keydown method), and if the key stroke handle property should be set to correct and read (sample in which your problem is).


Comments