| | |
How to create thread controls the colour levles of different hues
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2009
Posts: 3
Reputation:
Solved Threads: 0
i begin studying c# and i have homework , i have some problem that i can't to do that , help me plz
my question is:
.create a c# application that uses 3 threads and the html colour apecification, to slowly change its backfround colour every second.
each thread controls the colour levles of different hues(which can range from 0-255);
.the first thread controls the red hue.
. the second thred control the green hue.
.the third thread controls the blue hue.
if the value of any hue reaches 255, it should be set back to 0.
the application should contain 3 buttons.
clicking any button will:
. start the corresponding thread if isn't already started
.stop the corresponding thread if it is running.
all threads must default to stopped at program load.
plz help me, thanks
my question is:
.create a c# application that uses 3 threads and the html colour apecification, to slowly change its backfround colour every second.
each thread controls the colour levles of different hues(which can range from 0-255);
.the first thread controls the red hue.
. the second thred control the green hue.
.the third thread controls the blue hue.
if the value of any hue reaches 255, it should be set back to 0.
the application should contain 3 buttons.
clicking any button will:
. start the corresponding thread if isn't already started
.stop the corresponding thread if it is running.
all threads must default to stopped at program load.
plz help me, thanks
•
•
Join Date: Nov 2008
Posts: 44
Reputation:
Solved Threads: 4
This is something your text book use for. Forum is only for a specific problem, not to help you do your homework. At least you should try to do something and tell us what you couldn't do.
.Net Developer - 3D Game Designer
My Portfolio/Blog: http://www.hieu.co.uk
My Portfolio/Blog: http://www.hieu.co.uk
![]() |
Other Threads in the C# Forum
- Previous Thread: Regular Expression help
- Next Thread: Code design problem
| Thread Tools | Search this Thread |
.net access algorithm alignment app array barchart bitmap box broadcast c# c#gridviewcolumn cast check checkbox client combobox communication control conversion csharp custom database datagrid datagridview dataset datatable datetime degrees development draganddrop drawing elevated encryption enum excel file focus form format forms function gdi+ hospitalmanagementsystem httpwebrequest image index input install java label list listbox localization login mandelbrot math messagebox mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox server sleep socket sql statistics stream string stringformatting sun table text textbox thread time timer update usercontrol validation visualstudio webbrowser whileloop windows winforms wpf xml






