Any ideas how to stop the system bell from sounding when CTRL-A is used to select text in a Winforms application?
Here\'s the problem. Create a
private void textBox1_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.A) { this.textBox1.SelectAll(); e.SuppressKeyPress = true; } }
hope this helps