Blake81
Well-known member
I'm really new to GDI+, in fact I just started looking into it today. I want to create a custom control (LED) to use on my forms. I found an example of using the gradient brush, and I think that would probably work to give me the lighting effect I want on the LED. I just don't know how to use it properly. Basically, I want to draw a circle and use the gradient brush on it with the colors red and white. If at all possible, I'd like it also to have a beveled edge around the circle, like the picture below (I know it won't look that good). Could someone also give me a quick pointer about where to put the code to redraw the LED with a different color depending on it it is "lit" or "unlit"? Thanks. I really appreciate any help.