Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void richTextBox1_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar == (char)Keys.Back)
- {
- e.handled = true;
- }
- }
- void richTextBox1.PreviewKeyDown(object sender, KeyPressEventArgs e)
- {
- e.Handled = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement