Example #1
0
 private void cmdReset_Click(object sender, System.EventArgs e)
 {
     m_Maze = new Mehroz.MazeSolver(m_iRowDimensions, m_iColDimensions);
     m_Maze.AllowDiagonals = this.chkDiagonal.Checked;
     m_iMaze = m_Maze.GetMaze;
     this.Refresh();
 }
Example #2
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     m_Maze = new Mehroz.MazeSolver(m_iRowDimensions, m_iColDimensions);
     this.pictureBox1.Size = new System.Drawing.Size(m_iColDimensions * m_iSize + 3, m_iRowDimensions * m_iSize + 3);
     m_iMaze = m_Maze.GetMaze;
     this.lblPath.Visible        = false;
     this.lblPathCaption.Visible = false;
 }