Ejemplo n.º 1
0
 /// <summary>
 /// Sets the alarm. Disables the current alarm if it has been set.
 /// </summary>
 private void SetAlarm()
 {
     DisableAlarm();
     alarmToken   = timeManager.AddAlarm(new TimeReached(OnTimeManagerNotify), currentTime, timeToken);
     alarmEnabled = true;
 }