Answer» I just started trying to learn c# so bear with me. What I want to do was try to make a timer high score "GAME".
Let's say I press the BUTTON "Start". The timer begins and I must click the "Stop" button as quick as possible. When the "Stop" button is clicked, the timer stops.
Now how could I transfer the elapsed time for the high score?
What I need is SOMETHING like this:
CODE: [Select]timer1.ElapsedTime = highscoreLabel; For it to ACTUALLY be useful, how could I change it so that if the elapsed number is lower, to change the high score.
For example (Which obviously won't work):
Code: [Select]if (timer1.ElapsedTime < highscoreLabel) { timer1.ElapsedTime = highscoreLabel }
...
I would really appreciate anyone's help.
|