In C# i have a picturebox. i would like to draw 4 colors. The default will be white, red, green, blue. How do i draw these 4 colors stritched in this picbox? or should i have 4
If you want to use non-predefined colors, then you need to get a Color object from the static method Color.FromArgb().
int r = 100; int g = 200; int b = 50; Color c = Color.FromArgb(r, g, b); Brush brush = new SolidBrush(c); //...
Best RegardsOliver Hanappi