/// <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();
 }
Пример #3
0
        private void stopButton_Click(object sender, EventArgs e)
        {
            var programService = new ProgramService(manipulator);

            programService.StopProgram();
        }