Beispiel #1
0
 private void Restart(MainModel model)
 {
     model.EndTime = DateTime.UtcNow.AddMinutes(25);
     model._timer.Start();
     Step();
 }
Beispiel #2
0
        private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
        {
            var model = new MainModel();

            this.DataContext = model;
        }