I got rid of the flicker by changing 2 lines in FormGame_Paint() and setting FormGame's DoubleBuffered property to true.
Line 438 in FormGame.cs I changed from:
Code:
playingField = new Bitmap(Globals.PlaygroundWIDTH, Globals.PlaygroundHEIGHT, graphics);//create an image the same size as the screen
To...
Code:
playingField = new Bitmap(Globals.PlaygroundWIDTH, Globals.PlaygroundHEIGHT, e.Graphics);//create an image the same size as the screen
Line 455 of FormGame.cs I changed from:
Code:
graphics.DrawImage(playingField, new Point(0, 0));
To...
Code:
e.Graphics.DrawImage(playingField, new Point(0, 0));
And then set FormGame.DoubleBuffered to True in the design view of FormGame.cs.
P.S. Good thing you added those instructions. I was totally lost! Heh.