I need to change the background colour of a label in my GUI when a variable reaches a certain value. How would i go about doing this
Would it be something like this:
if(timeLimit == value){
Label.BackColor=System.Drawing.Color.Red;
}
I need to be able to do this once the timer in my application reaches 5 seconds remaining.
I'm using Windows forms in Visual Studio 2010.
Whenever the event is triggered change the color with labelName.BackColor = Color.Blue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With