Hi,
I am pretty new to C# and cannot seem to find an answer to this question after 10 minutes google searching. What is the best way to suspend a program to wait for input on a textbox, specifically enter. I think my current problem is that I am coding inside the form, so if I want to do a block on it (like a semaphore) I end up suspending the textbox inside the form as well. I attempted to make a thread that would handle the main execution, but it does not have direct access to the form since it did not create it. I am basically looking for something with similar logic to cin in c++. Thanks.