When working with console applications, Console.Readline relinquishes processing to the UI from the Main thread and only continues when an event, such as the pressing of the enter button is fired. How do I replicate this functionality (With a Window form as the UI in this case) in windows form application?
When working with console applications, Console.Readline relinquishes processing to the UI from the Main
Share
You cannot do this directly.
However, you can do it by calling
Invoke, as I described here.