F
F
FilayVasia2016-03-15 16:00:51
C++ / C#
FilayVasia, 2016-03-15 16:00:51

How to stop the program when you click on the button, and continue when you click on another button?

Good afternoon! Please tell me how to make the program stop when you click on the button, and when you click on another button, the program continues to work ?? Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2016-03-15
@dmitryKovalskiy

If you are more than a month into programming - your path is multi-threaded execution of your program. In particular, when a button is clicked on the UI thread - pause and resume. www.cyberforum.ru/csharp-net/thread952526.html - Here are a couple of code examples.
And if you're just learning, find another problem better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question