crp81
asked on
c# color properties code needed
I have different color skins (Background images) in my application and string named color ie:
string color;
skin_blue
skin_green
skin_red
yes I can do this with an if statement but I would rather do something like this below
BackgroundImage = Properties.Resources.skin+ color; Is something like this possible
please can I get the exact code, thanks
string color;
skin_blue
skin_green
skin_red
yes I can do this with an if statement but I would rather do something like this below
BackgroundImage = Properties.Resources.skin+
please can I get the exact code, thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.