Esempio n. 1
0
        void picBox_Paint(object sender, PaintEventArgs e)
        {
            PictureBox senderControl = (PictureBox)sender;

            card.Begin(e.Graphics);
            card.DrawCardBack(new Point(0, 0), (CardBack)senderControl.Tag);
            card.End();
        }