c# - MessageBoxIcon.Questionn to play sound? -


I want to play a sound while displaying a message box question type.

Here is my code:

  If (MessageBox.Show ("Are you sure to delete this item?", "Confirm", message box button. Yes No, MessageBoxIcon.Question) == DialogResult.Yes)   

This is the system setting based on the user in the control panel. If the user does not have any sound from the question event, then nothing will run. < / Div>

Comments

Popular posts from this blog

sql - Return Function using Cursor -

sql server - How to use pivot in this table -

javascript - Is there any way to add a new parameter to a function programmatically? -