Click here to Skip to main content
15,886,030 members
Home / Discussions / C#
   

C#

 
QuestionIntPtr usage! Pin
Duong Tien Nam5-Sep-05 23:19
Duong Tien Nam5-Sep-05 23:19 
AnswerRe: IntPtr usage! Pin
S. Senthil Kumar6-Sep-05 2:17
S. Senthil Kumar6-Sep-05 2:17 
AnswerRe: IntPtr usage! Pin
Daniel Turini6-Sep-05 4:06
Daniel Turini6-Sep-05 4:06 
QuestionCreate new controls in RunTime Pin
liqnit5-Sep-05 22:56
liqnit5-Sep-05 22:56 
AnswerRe: Create new controls in RunTime Pin
Stefan Troschuetz6-Sep-05 0:32
Stefan Troschuetz6-Sep-05 0:32 
GeneralRe: Create new controls in RunTime Pin
liqnit6-Sep-05 3:15
liqnit6-Sep-05 3:15 
QuestionAdd user control Pin
reza toorani5-Sep-05 22:47
reza toorani5-Sep-05 22:47 
QuestionMultithreading in c# windows application Pin
dhol5-Sep-05 21:58
dhol5-Sep-05 21:58 
Hi
I have to work on multithreading concepts in c# windows application.

Design a form with 3 labels and 3 text boxes and a button.

I should enter the time in three text boxes. Three different times. And press the Button.
Label 1 should become green color after the entered time period in text box1.
Label 2 should become Yellow color after the entered time period in text box2.
Label 3 should become Blue color after the entered time period in text box3.

I should have three threads to start three processes. Start the three threads in the button click.

Thread 1 to start the thread and wait for the entered time in text box 1 and make the label 1 green. And so on.
U should enter the time in milli seconds. 1 second = 1000 milliseconds.
So if I want to enter 5 seconds. I should enter 5000 in the text box. I should Write a windows application for this.

Pls anyone explain me how to do this . pls help me to do this sample.

dhol
AnswerRe: Multithreading in c# windows application Pin
CoolAmir5-Sep-05 22:31
CoolAmir5-Sep-05 22:31 
QuestionDrawing Lines Pin
suresh sahu5-Sep-05 21:53
suresh sahu5-Sep-05 21:53 
QuestionRe: Drawing Lines Pin
leppie6-Sep-05 3:43
leppie6-Sep-05 3:43 
QuestionDLL Pin
kamlapuri5-Sep-05 21:45
kamlapuri5-Sep-05 21:45 
AnswerRe: DLL Pin
S. Senthil Kumar6-Sep-05 2:19
S. Senthil Kumar6-Sep-05 2:19 
QuestionDynamic Page Input Pin
Expert Coming5-Sep-05 21:37
Expert Coming5-Sep-05 21:37 
QuestionPassing Variables Pin
Expert Coming5-Sep-05 21:35
Expert Coming5-Sep-05 21:35 
AnswerRe: Passing Variables Pin
shashank veerkar6-Sep-05 20:29
shashank veerkar6-Sep-05 20:29 
QuestionHelp! help! Newbie... Pin
boggs5-Sep-05 21:31
boggs5-Sep-05 21:31 
QuestionProblem in moving the i mage Pin
atifciit5-Sep-05 20:49
atifciit5-Sep-05 20:49 
QuestionCPU serial number Pin
Dr_C#5-Sep-05 20:37
Dr_C#5-Sep-05 20:37 
AnswerRe: CPU serial number Pin
Stanciu Vlad5-Sep-05 21:38
Stanciu Vlad5-Sep-05 21:38 
QuestionHow can i make polar graph in .NET? Pin
parvinder sehrawat5-Sep-05 20:29
parvinder sehrawat5-Sep-05 20:29 
QuestionKey Chord Sequences Pin
Vasudevan Deepak Kumar5-Sep-05 20:08
Vasudevan Deepak Kumar5-Sep-05 20:08 
Question"For" bucle doesn't work in c#? Pin
Heinz_5-Sep-05 20:03
Heinz_5-Sep-05 20:03 
AnswerRe: "For" bucle doesn't work in c#? Pin
Stefan Troschuetz5-Sep-05 20:22
Stefan Troschuetz5-Sep-05 20:22 
QuestionResizing Pin
dhanunjay5-Sep-05 19:08
dhanunjay5-Sep-05 19:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.