public static void StopSound() { if (ReferenceEquals(SoundPlayer, null)) { return; } SoundPlayer.Dispose(); SoundPlayer = null; }
public static void StopExtraSound() { if (ReferenceEquals(ExtraSoundPlayer, null)) { return; } ExtraSoundPlayer.Dispose(); ExtraSoundPlayer = null; }
public static void StopWeatherSound() { if (ReferenceEquals(WeatherSoundPlayer, null)) { return; } WeatherSoundPlayer.Dispose(); WeatherSoundPlayer = null; CurWeatherMusic = ""; }