Beispiel #1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     if (e.Args.Length == 1 && e.Args[0] == "--execute-schedule")
     {
         ScheduleExecutor.Go();
     }
     else
     {
         MainWindow mainWin = new MainWindow();
         mainWin.Show();
     }
 }
Beispiel #2
0
 private void btnTestExecute_Click(object sender, RoutedEventArgs e)
 {
     ScheduleExecutor.Go(true);
 }