Exemplo n.º 1
0
        public GameForm()
        {
            InitializeComponent();

            graphics = pictureBox.CreateGraphics();
            game     = new Game(graphics);
            game.render();
        }
Exemplo n.º 2
0
 private void pictureBox_Paint(object sender, PaintEventArgs e)
 {
     game.render();
 }