c# - Synchronous calculation-heavy method call that doesn't prevent redrawing -
Newbie C # / Here is the question of net threading:
Is it possible to be synchronous (if this is the correct word) method, unless it finishes some calculations, but at the same time the app "Response "Or" no answer "can not be stopped.
I think the answer is probably Threads but if anyone is part of a synchronous (if he is still the right word) method, how does he do it, when someone does this, then an event Instead of sending.
As an additional requirement I am adding this code, there is no dependency on Winforms, it is designed to run from a console app or to a Winforms app.
Thank you and sorry that this is a dumb question.
I think you want to block any user input while your calculation method is being executed is. If so, then it can be done with orbit. Set enabled to
Comments
Post a Comment