/// <summary> /// Stops the specified object. /// </summary> /// <param name="obj">The object.</param> private void Stop(object obj) { programService.StopProgram().RunSynchronously(); }
private void Stop(object obj) { programService.StopProgram(); }
private void stopButton_Click(object sender, EventArgs e) { var programService = new ProgramService(manipulator); programService.StopProgram(); }