private bool LoadSoundFile(string name) { try { ApplicationStreamedSound = new StreamedMp3Sound(ApplicationDevice, new Mp3Stream(name)); } catch (SoundException) { return(false); } return(true); }
private bool LoadSoundFile(string name) { try { ApplicationStreamedSound = new StreamedMp3Sound(ApplicationDevice, new Mp3Stream(name)); } catch(SoundException) { return false; } return true; }