In Need of some C# help
I have created a form which has two buttons on it
BtnUP and BtnDown
Also on the form I have a a box two ORANGE picture boxes
PicPrevious and PicNew
The object of the program is depending on how many times that the BtnUp as been clicked and it records it in a table and the nuber of clicks that the BtnDown as been clicked once both buttons have been clicked then I would like some kind of ratio between the results of up and down clicks which say if the clicks are of a ratio of more than 4:1 then one of the orange picture boxes changes to Blue but if the ratio is less than 1:4 the colour of the picture box changes from orange to black.
If anyone as any ideas I can send you the program that i'm trying to put the code into so you get more of a understanding plus if you don't get me when i say ratio please check out
http://www.bbc.co.uk/skillswise/numbers/wholenumbers/ratioandproportion/ratio/flash1.shtml
Any suggestions??
Andy.