I currently have a complete game of life program written where nearly everything is done in classes. I'm trying to figure out how to display my 2D array (which is my Game of Life grid) in a windows form picturebox, as currently I only know how to run it in the console.
I'm very new to windows forms so as detailed of help as possible would be great :)
I have a class called Cell which represents each cell in the grid, and a class called GOL which represents a grid. Gol contains methods for setting the live cells and for updating each iteration of the grid in the game.
I know that I need to create a bitmap out of the 2D array, and somehow also use my methods on it, and then display that in the picturebox. No idea how to do any of it.
Thanks :)