/// <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(); }
private void butClear_Click(object sender, EventArgs e) { mSolver = null; panGrid.Invalidate(); }