|
-
May 10th, 2011, 02:24 PM
#1
[RESOLVED] Changing Control colors
I know this is silly, but I am unable to change the colors of my controls by either the properties panel or with code. Anyone ever have this problem? Im using the latest version of Visual studio. the Code i am using is
if (value1 > value2)
{
this.temp.ForeColor = Color.Yellow;
}
Basically I would like my text color to change to yellow while the value2 is lower than value1 when they are equal green and over red.
I know I dont have the Green or the red written in, although I can not even get yellow to display, it comes out black (no change). If anyone can help that would be great! Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|