I am currently writing the game of life in C#. Pls is it possible if anyone can give me the code that will enable me to paint the squares and get the game started. Thanx a lot.
Printable View
I am currently writing the game of life in C#. Pls is it possible if anyone can give me the code that will enable me to paint the squares and get the game started. Thanx a lot.
http://www.java2s.com/Code/CSharp/2D...DrawSquare.htm
You can also use labels, textBoxes or whatever you want in a Form in order to represent a square. You set its size property and you change its Location property to move it.
Creating a custom control in WPF to do this would be awesomely easy.