It says system.drawing.color can not accept an integer value?
I am trying to set the backcolor of a button using the RGB(red,green,blue) function. But it says i can't becasue it's an integer.
So what's the deal with it?
Thanks!:D
Printable View
It says system.drawing.color can not accept an integer value?
I am trying to set the backcolor of a button using the RGB(red,green,blue) function. But it says i can't becasue it's an integer.
So what's the deal with it?
Thanks!:D
Try something like this:
System.Drawing.Color myColor = System.Drawing.Color.FromArgb(intRed, intGreen, intBlue);