I use the Crystal 10 RDC dll to make changes to a report at runtime. All the color properties is of type uint.
So I've got this method to convert a color to a uint value, and it works fine.
public static uint colorToUint(Color clr)
return (uint)(clr.R + (clr.G << 8) + (clr.B << 16));
But now I want to write a method to convert a uint value into a color's RGB.
Can anybody help me please.