Ejemplo n.º 1
0
        protected override void OnPaint(PaintEventArgs e)
        {
            base.OnPaint(e);

            e.Graphics.Clear(BackColor);
            sr.RenderSurface(e.Graphics);
        }
Ejemplo n.º 2
0
 private void Form1_Paint(object sender, PaintEventArgs e)
 {
     e.Graphics.Clear(BackColor);
     sr.RenderSurface(e.Graphics);
 }