Hi i have problem with override OnPaintBackground of GoRuler, but the result was not work. I just want to draw background with Gradient Color.
Cound you please help me out..
public class GoRulerTop : GoRuler {
public GoRulerTop(): base() {
}}
Doesn’t work at all, or doesn’t look right?
It would be useful to know what is wrong and what result you expected.
But I’ll guess that what you want to do is use a different Rectangle. Try using new Rectangle(0, 0, this.Width, this.Height).