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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -