In my code I am running some code in a QueuedTask. After the QueuedTask code, I have some more code that seems to be getting run similtaneously to the QueuedTask, which is causing problems.
How do I stop the code from progressing until the QueuedTask is complete??
); //end of QueuedTask
//more code down here, that seems to run while things are still processing in the QueuedTask
//included here is code that modifies a Windows Form that cannot run inside the QueuedTask, but needs to wait for the QueuedTask to complete before running