//GENERATE THE MAZE AND SEND IT TO THE GAME FORM public void GenMaze() { _game = new MazeViewGame(this); Panel = _model.GenMaze(); _game.Controls.Add(Panel); _game.Size = new Size(Panel.Width + 200, Panel.Height + 150); _game.ShowDialog(); _game.Focus(); }
public MazeController(MazeViewGame mazeViewGame) { _game = mazeViewGame; }