cs_coq
Messages postés6350Date d'inscriptionsamedi 1 juin 2002StatutMembreDernière intervention 2 août 2014101 19 janv. 2005 à 15:28
En utilisant la reflexion :
Type colorType = typeof(Color);
PropertyInfo myColorPropInfo = colorType.GetProperty(v_color);
Color myColor = (Color)myColorPropInfo.GetValue(null, new object[]{});