private PlaySound ( string pszSound, |
||
pszSound | string | |
hMod | ||
sf | SoundFlags | |
Результат | bool |
private void NewMailSound() { if (_newMailSound == "none") { return; } if (_newMailSound == null) { SoundUtil.PlayWindowsSound("MailBeep"); } else { SoundUtil.PlaySound(_newMailSound); } }
private void playButton_Click(object sender, EventArgs e) { if (_currentSound == "none") { return; } if (_currentSound == null) { SoundUtil.PlayWindowsSound("MailBeep"); } else { SoundUtil.PlaySound(_currentSound); } }