I can't see any way this error would arise if you were not using multiple threads - I suspect that something you are doing is implicitly creating a new thread.

I see from your other post you are using a 3rd party control - it is possibly something this control is doing that is spawning a new thread.