Beispiel #1
0
        // Canvas paint function - launches paint functionality
        private void canvas_Paint(object sender, PaintEventArgs e)
        {
            Graphics g = canvas.CreateGraphics();

            game.startGraphics(g);
        }