public Time(MainWindow mainWindow, Options options) { this.mainWindow = mainWindow; this.options = options; SetTimer(); timer.Start(); }
public Alarm(MainWindow mainWindow, AlarmType alarm) { ChangeAlarm(alarm); this.mainWindow = mainWindow; }
public Alarm(MainWindow mainWindow) { alarm = new EventHandler(None); this.mainWindow = mainWindow; }