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