Example #1
0
 private void CheckBoxTakeSnapshots_Checked(object sender, RoutedEventArgs e)
 {
     if (CheckBoxTakeSnapshots.IsChecked == true)
     {
         RobotController.EnableSnapshotMode(System.IO.Path.Combine(Directory.GetCurrentDirectory(), _snapshotDirectory));
     }
     else
     {
         RobotController.DisableSnapshotMode();
     }
 }