I want to draw or paint a colors combination using white and blue... I don't know if it needs to create a new color definition or it just create a bitmap usable as a background in a control.
Look into using the LinearGradientBrush. If the control resizes a lot you could draw with its Paint event, otherwise just draw to a Bitmap the size of the control rectangle (Bounds) and set this image as background image.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.