private void OnNewAlarm(AlarmSourceEventArgs args) { var copy = NewAlarm; if (copy != null) { copy(this, args); } }