Example #1
0
 private void PlaySoundFuntion(string fileName)
 {
     if (btnShow.Visible == true)
     {
         SoundEvtAgs e = new SoundEvtAgs();
         e.FileName = fileName;
         playSound(this, e);
     }
 }
Example #2
0
 private void PlaySoundEvt(object sender, SoundEvtAgs e)
 {
     playesounder(e.FileName);
 }