|
-
Oct 2nd, 2003, 09:13 AM
#1
Thread Starter
New Member
Displaying a second form in another thread?
I am trying to display a second form via another thread but it disappears immeditely. How can I get it to remain visible while the main form performs some other processing? Any help would be appreciated - thanks
-
Oct 2nd, 2003, 09:22 AM
#2
Lively Member
See if this works for you:
Application.Run(new frmYourFormNameHere())
I think this will only exist while the thread does, but that sounds like what you want anyways.
-
Oct 2nd, 2003, 09:24 AM
#3
Frenzied Member
I'm just learning about threading, so take this with a grain of salt.
Why would you want your main form to do some processing and spawn a thread to show a form? I believe the thread dies as soon as the method your thread points to ends.
It might be a better idea to create a thread from your main thread that does the processing, and let the main thread show the other form.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|