|
-
Jun 23rd, 2004, 03:40 PM
#1
Thread Starter
Frenzied Member
is this multithreading?
I am trying to do something kina advanced (to me). I want to show a form that runs a loop and changes gradient colors WHILE a process runs in the background of the application. I'm using this form as an indicator that the operation is going on. I can't seem to figure out how to get the code to continue after form.show is executed because control isn't returned ever due to the infinite loop.
should I look into multithreading or does the answer lie in a 'with events' statement somewhere?
on a second note, where is a good place to start learning about multithreading?
-
Jun 23rd, 2004, 04:17 PM
#2
Sleep mode
That's how multithreading works !!!
http://www.codeproject.com/csharp/Pr...lashScreen.asp
And for the tutorials , man what about google !!!
Last edited by Pirate; Jun 23rd, 2004 at 08:27 PM.
-
Jun 23rd, 2004, 07:47 PM
#3
Hyperactive Member
Depends on what you are trying to accomplish.
If you are looking to cause the gradient to change color while the background process is firing then you want to use withevents, if you just want the gradient to cycle until the background process is complete then you probably want to stick with threading.
Threading in .NET is very VERY simple, this project may well suit your needs if the latter applies:
DrawBarChart
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
|