void setWakeUp()
 {
     if (wakeupIndex == wakeupOn)
     {
         WakeUP.SetWakeUpTime(WakeupTime);
     }
 }
        public static void SetWakeUpTime(DateTime time)
        {
            wakeUp = new WakeUP();

            bgWorker.DoWork             += new DoWorkEventHandler(bgWorker_DoWork);
            bgWorker.RunWorkerCompleted +=
                new RunWorkerCompletedEventHandler(bgWorker_RunWorkerCompleted);
            Woken += WakeUP_Woken;
            bgWorker.RunWorkerAsync(time.ToFileTime());
        }