jueves, 12 de abril de 2012

Manejo de Graficos


        protected override void OnPaint(PaintEventArgs e)
        {
            SolidBrush brh = new SolidBrush(Color.Black);
            Font drawFont = new Font("Arial", 5, FontStyle.Regular);


         
                e.Graphics.DrawString(productos[i], drawFont, brh, 25 * i, 0);
                base.OnPaint(e);


                e.Graphics.FillRectangle(brh, 25, 235, 20,  20);
                base.OnPaint(e);
            }

No hay comentarios:

Publicar un comentario