Beispiel #1
0
        public override void PaintValue(PaintValueEventArgs e)
        {
            Graphics     g        = e.Graphics;
            GradientInfo gradient = (GradientInfo)e.Value;

            gradient.Draw(g, e.Bounds);
            g.DrawRectangleProper(Pens.Black, e.Bounds);
        }