Using GDI+ to draw various colors:
brush = new SolidBrush(color); graphics.FillRectangle(brush, x, y, width, height);
You\'ll notice that n
I've found another way around it. Use LinearGradientBrush with both colors the same:
LinearGradientBrush
LinearGradientBrush brush(Point(0,0), Point(0,0), Color(255,231,45,56), Color(255,231,45,56)); g.FillRectangle(&brush, 25, 25, 30, 30);
This is perhaps slower than SolidBrush, but works fine.