I am very new to programming, and I need to learn how to get a color from a text box:
Color color = Color.Parse(tex tBoxNewValue.Te xt);
//set the Color field to the new value
box.setColor(co lor);
//put the updated box back in the list
//to relect the change
boxlist[index] = box;
this works for me with a decimal, but I cannot find the proper code to do it for a color, Please help?
Color color = Color.Parse(tex tBoxNewValue.Te xt);
//set the Color field to the new value
box.setColor(co lor);
//put the updated box back in the list
//to relect the change
boxlist[index] = box;
this works for me with a decimal, but I cannot find the proper code to do it for a color, Please help?
Comment