How do I disable the c# message box beep?

后端 未结 7 986
攒了一身酷
攒了一身酷 2020-12-16 13:30

Whenever trigger a messagebox used in my C# program I get a very annoying beep from my computer. How do I disable this beep using C# code.

The code I am using is ve

相关标签:
7条回答
  • 2020-12-16 14:19

    Depending on how much you're leveraging the MessageBox (icons, etc) you can always make a custom dialog. Especially if it's a simple message you want to display, this would not be difficult or time consuming.

    0 讨论(0)
提交回复
热议问题