F
Frank Rizzo
I am being passed a string, such as ControlText. From this string, I
must figure its color value and set that value to a control.
All these values are stored in the System.Drawing.SystemColors.* enums.
I've tried to pry it open with Enum.Parse, but no dice, it keeps giving
me exceptions of all kinds.
Has anyone else figured out how to get the value of the Enum from a
string form?
Thanks.
must figure its color value and set that value to a control.
All these values are stored in the System.Drawing.SystemColors.* enums.
I've tried to pry it open with Enum.Parse, but no dice, it keeps giving
me exceptions of all kinds.
Has anyone else figured out how to get the value of the Enum from a
string form?
Thanks.