Ejemplo n.º 1
0
 internal static void UpdateEmergencyAlarmSoundPlayer()
 {
     _emergencyAlarmSound = null;
     if(Common.AppSettings.Instance.PlaySoundOnEmergencyAlarm&&!string.IsNullOrWhiteSpace(Common.AppSettings.Instance.EmergencyAlarmSoundFile)&&System.IO.File.Exists(Common.AppSettings.Instance.EmergencyAlarmSoundFile))
     {
         _emergencyAlarmSound = new WPFCommon.BackgroundSoundPlayer(Common.AppSettings.Instance.EmergencyAlarmSoundFile);
     }
 }
Ejemplo n.º 2
0
 internal static void UpdateEmergencyAlarmSoundPlayer()
 {
     _emergencyAlarmSound = null;
     if (Common.AppSettings.Instance.PlaySoundOnEmergencyAlarm && !string.IsNullOrWhiteSpace(Common.AppSettings.Instance.EmergencyAlarmSoundFile) && System.IO.File.Exists(Common.AppSettings.Instance.EmergencyAlarmSoundFile))
     {
         _emergencyAlarmSound = new WPFCommon.BackgroundSoundPlayer(Common.AppSettings.Instance.EmergencyAlarmSoundFile);
     }
 }