Пример #1
0
        private void Form1_Paint(object sender, PaintEventArgs e)
        {
            if (game == null)
            {
                return;
            }

            game.Draw(e.Graphics);
        }
Пример #2
0
 private void Form1_Paint(object sender, PaintEventArgs e)
 {
     game.Draw(e.Graphics);
 }