I jst wanted to know if anybody could help me with this....

I'm making a sudoku program and I have a beginner button that when you push it it shows you 35 of the answers in the puzzle, but how do I do so that you can't push it again with out pushing the reset button first.. can anybody help?