Right now I have C# code to spawn a new window in a different thread, this works, but as soon as the new spawned window opens, it closes and the thread ends. How would I mak
I bet what you're doing is something like this:
new Thread(() => new TestForm().Show()).Start();
because this makes the window disappear immediately, like you describe.
Try this instead:
new Thread(() => new TestForm().ShowDialog()).Start();
ShowDialog spins its own message pump, and only returns when the window is closed.