public MainWindow()
 {
     InitializeComponent();
     wekker                      = new Wekker();
     timer1                      = new DispatcherTimer();
     timer1.Interval             = TimeSpan.FromMilliseconds(1000);
     timer1.Tick                += timer1_Tick;
     currentTimeLabel.Background = new SolidColorBrush(Colors.LightGray);
     alarmTimeTextBox.Text       = "__:__:__";
     timer1.Start();
 }
 public MainWindow()
 {
     InitializeComponent();
     wekker = new Wekker();
     timer1 = new DispatcherTimer();
     timer1.Interval = TimeSpan.FromMilliseconds(1000);
     timer1.Tick += timer1_Tick;
     currentTimeLabel.Background = new SolidColorBrush(Colors.LightGray);
     alarmTimeTextBox.Text = "__:__:__";
     timer1.Start();
 }