|
-
February 2nd, 2011, 09:19 AM
#1
Parallel programming
Dear friends,
Since I am a guy who recently migrated from PHP to desktop programming, I always think evrything should be linear...I mean when I write a code in PHP it just starts from line 1 and goes to the last line (I guess it does the same in old plain C maybe?)
In PHP if you needed a running counter you could use JScript. But what about Visual C#?
For example, I want in buttom of my form (my form does some basic things, so dont bother :P ) a counter be placed and as soon as user starts the program this counter starts runnig and counting real time, while the rest of program is doing as notmal.
Another example. I want to embed a browser in my form, and I need it to be refreshed every few seconds while the user is working with other things in my form.
I know it should be done with a loop (or not?) but if program enters the loop what will happen to the other functions of my program? are they should wait untill the loop is finished?
Am I MAD or STUPID!!!!
Last edited by Sean87; February 2nd, 2011 at 09:21 AM.
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
|