Stop the Bell on CTRL-A (WinForms)

后端 未结 4 1317
野性不改
野性不改 2021-01-17 10:59

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

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-17 11:27

    This worked for me:

    Set the KeyPreview on the Form to True.

    Hope that helps.

提交回复
热议问题