Esempio n. 1
0
 private void Go()
 {
     if (runner.ExecutionState == ExecutionState.Stopped)
     {
         // Need to start the program...
         ProgramInteraction.Reset();
         ProgramCode.SyncCodeToViewModel();
         runner.BeginRun(ProgramCode.Code);
         Properties.Settings.Default.Code = ProgramCode.Code; // Save for next time
     }
     else if (runner.ExecutionState == ExecutionState.Paused)
     {
         runner.ExecuteNextLine();
     }
 }