예제 #1
0
        /// <summary>
        /// Start the solver
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void butGo_Click(object sender, EventArgs e)
        {
            mSolver = new MazeSolver(mFieldGrid);

            mSolver.Solve();

            panGrid.Invalidate();
        }
예제 #2
0
        private void butClear_Click(object sender, EventArgs e)
        {
            mSolver = null;
            panGrid.Invalidate();

        }