Example #1
0
        public Time(MainWindow mainWindow, Options options)
        {
            this.mainWindow = mainWindow;
            this.options = options;

            SetTimer();
            timer.Start();
        }
Example #2
0
 public Alarm(MainWindow mainWindow, AlarmType alarm)
 {
     ChangeAlarm(alarm);
     this.mainWindow = mainWindow;
 }
Example #3
0
 public Alarm(MainWindow mainWindow)
 {
     alarm = new EventHandler(None);
     this.mainWindow = mainWindow;
 }