コード例 #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();

        }