Ejemplo n.º 1
0
        protected override void Paint(PPaintContext paintContext)
        {
            Graphics2D g = paintContext.Graphics;

            if (Brush != null)
            {
                g.FillEllipse(Brush, Bounds);
            }

            if (pen != null)
            {
                g.DrawEllipse(pen, Bounds);
            }
        }