Save RGB Color To SolidBrush Object In C#
To save a RGB color to a Solidbrush object, pass the RGB color in the solidbrush constructor.
Then apply it in your graphics method.
Cheers!
SolidBrush brush = new SolidBrush(Color.FromArgb(211, 222, 229));
evs.Graphics.FillRectangle(brush, evs.CellBounds);
Comments
Post a Comment