Ejemplo n.º 1
0
        private void pbSprite_Paint(object sender, PaintEventArgs e)
        {
            Graphics g = e.Graphics;

            g.FillRectangle(Brushes.LightGray, 0, 0, 65, 65);
            g.DrawRectangle(Pens.Black, 0, 0, 65, 65);
            m_sprite.DrawSmallSprite(g, 1, 1);
        }