Force singlethreading in form application (.NET 4.5) : I recently created a form application through the Windows Form Application template in Visual Studio. The program was automatically created with multiple threads, putting the UI on one thread and whatever else on the other thread (I think).

Regardless I ran into and fixed the issue described [here][1]

What I want to know is how to do manipulate the program to run everything on a single thread so that I do not have to worry about adding the extra code to manipulate UI objects, or do I not have a choice?

For reference, the code where I ran into this issue was in the main Form class.

  [1]: http://stackoverflow.com/a/244614